public function it_add_customer_event(CustomerEventRepository $repository, CustomerEvent $customerEvent)
 {
     $command = new AddCustomerEventCommand();
     $command->setEvent($customerEvent->getWrappedObject());
     $repository->add($customerEvent)->shouldBeCalled();
     $this->handle($command);
 }
 public function handle(AddCustomerEventCommand $command)
 {
     $this->repository->add($command->getEvent());
 }