public function test_removing_lazy_objects()
    {
        $entity = new EntityFake(1, "Norbert", "Orzechowicz");
        $entityProxy = $this->wrapper->wrap($entity);
        $this->uow->register($entityProxy);
        $this->uow->remove($entityProxy);
        $this->uow->commit();

        $this->assertTrue($this->getEntityFakeRemoveCommandHandler()->objectWasRemoved($entityProxy->getWrappedObject()));
    }
 /**
  * @param mixed $entity
  */
 public function delete($entity)
 {
     $this->unitOfWork->remove($entity);
 }