org\bovigo\vfs\FilenameTestCase::worksWithCorrectName PHP Method

worksWithCorrectName() public method

    public function worksWithCorrectName()
    {
        $results = array();
        $it = new \RecursiveDirectoryIterator($this->lostAndFound);
        foreach ($it as $f) {
            $results[] = $f->getPathname();
        }
        $this->assertEquals(array('vfs://root/lost+found' . DIRECTORY_SEPARATOR . '.', 'vfs://root/lost+found' . DIRECTORY_SEPARATOR . '..'), $results);
    }