protected shouldHandleCommand ( Bruli\EventBusBundle\CommandBus\CommandInterface $command ) | ||
$command | Bruli\EventBusBundle\CommandBus\CommandInterface |
protected function shouldHandleCommand(CommandInterface $command)
{
$this->getCommandBus()->shouldReceive('handle')->once()->with((new SimilarTo())->compare($command));
}