public fileCanBeAccessedUsingWinDirSeparator ( ) |
public function fileCanBeAccessedUsingWinDirSeparator()
{
vfsStream::newFile('foo/bar/baz.txt')->at($this->root)->withContent('test');
$this->assertEquals('test', file_get_contents('vfs://root/foo\\bar\\baz.txt'));
}