fkooman\RemoteStorage\PathTest::testPrivateDocument PHP Method

testPrivateDocument() public method

public testPrivateDocument ( )
    public function testPrivateDocument()
    {
        $p = new Path('/admin/path/to/Document.txt');
        $this->assertEquals('admin', $p->getUserId());
        $this->assertFalse($p->getIsPublic());
        $this->assertFalse($p->getIsFolder());
        $this->assertEquals('/admin/path/to/Document.txt', $p->getPath());
    }