public function execute(DeleteProjectAction $action)
 {
     $project = $action->getProject();
     $this->projectRepository->remove($project);
     return $project;
 }
 function it_should_delete_project(ProjectRepository $projectRepository, EventDispatcherInterface $eventDispatcher, Project $project, DeleteProjectAction $action)
 {
     $action->getProject()->willReturn($project);
     $projectRepository->remove($project)->shouldBeCalled();
     $this->execute($action);
 }