public function testAdd()
 {
     $customer = $this->prophesize(Customer::class);
     $this->storage->add($customer)->willReturn(123)->shouldBeCalled();
     $this->idSetter->setIdProperty($customer, 'id', 123)->shouldBeCalled();
     $this->object->add($customer->reveal());
 }
 public function testAdd()
 {
     $event = $this->createEventProphet();
     $this->object->add($event->reveal());
     $this->storage->add($event)->shouldBeCalled();
 }