Example #1
0
 public function assertUnpersisted($entity)
 {
     $this->test->assertTrue($this->persistenceManager->isNewObject($entity), 'The Entity of type ' . get_class($entity) . ' is still persisted.');
     return $this;
 }