/** * @covers BackBee\NestedNode\AbstractNestedNode::setParent */ public function testSetParent() { $new_mock = new MockNestedNode(); $this->assertEquals($this->mock, $this->mock->setParent($new_mock)); $this->assertEquals($new_mock, $this->mock->getParent()); }