public function testGetObjectChangeSet()
 {
     $object = new \stdClass();
     $changeSets = new ChangeSets($object);
     $changeSet = $changeSets->getObjectChangeSet($object);
     $this->assertInstanceOf('Doctrine\\SkeletonMapper\\UnitOfWork\\ChangeSet', $changeSet);
 }
예제 #2
0
 /**
  * Gets the changeset for a object.
  *
  * @param object $object
  *
  * @return \Doctrine\SkeletonMapper\UnitOfWork\ChangeSet
  */
 public function getObjectChangeSet($object)
 {
     return $this->objectChangeSets->getObjectChangeSet($object);
 }