handle() публичный Метод

public handle ( Bruli\EventBusBundle\CommandBus\CommandInterface $command )
$command Bruli\EventBusBundle\CommandBus\CommandInterface
 /**
  * @test
  */
 public function itShouldWorksFine()
 {
     $configurationDataResponse = ConfigurationDataResponseStub::createCustom(false, false, true);
     $this->shouldHandleQuery(new ConfigurationDataFinderQuery(), $configurationDataResponse);
     $this->shouldWriteLnOutput(PrePushTool::PRE_PUSH_HOOK);
     $this->shouldExecutePrePushOriginal($this->remote, $this->url, '');
     $this->shouldHandleCommand(new PhpUnitToolCommand($configurationDataResponse->getPrePush()->getPhpUnit()->isPhpunitRandomMode(), $configurationDataResponse->getPrePush()->getPhpUnit()->getPhpunitOptions(), $configurationDataResponse->getPrePush()->getErrorMessage()));
     $this->shouldHandleCommand(new StrictCoverageCommand($configurationDataResponse->getPrePush()->getPhpUnitStrictCoverage()->getMinimum(), $configurationDataResponse->getPrePush()->getErrorMessage()));
     $this->shouldHandleCommand(new GuardCoverageCommand($configurationDataResponse->getPreCommit()->getPhpUnitGuardCoverage()->getWarningMessage()));
     $this->shouldWriteLnOutput(GoodJobLogoResponse::paint($configurationDataResponse->getPrePush()->getRightMessage()));
     $this->prePushToolCommandHandler->handle(new PrePushToolCommand($this->remote, $this->url));
 }