public function testSetToOneAssociation() { $parent = new TestObject(); $this->object ->setParent($parent); $this ->assertSame($parent, $this->object ->getParent($parent)); }