/** * @covers ::getRoot */ public function testGetRoot() { $this->assertSame(spl_object_hash($this->entity), spl_object_hash($this->entity->getRoot())); }