public function testGetRootPath($expected, $path) { $document = new Document(); $document->setPath($path); $this->assertSame($expected, $document->getRootPath()); }