Carew\Tests\DocumentTest::testGetRootPath PHP Method

testGetRootPath() public method

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