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