php-vfs/test/acceptance/Stream/StreamWrapper/StatAcceptanceTest.php
2014-09-06 14:25:54 +01:00

24 lines
432 B
PHP

<?php
namespace Vfs\Stream\StreamWrapper;
use Vfs\Test\AcceptanceTestCase;
class StatAcceptanceTest extends AcceptanceTestCase
{
protected $tree = [
'foo' => [
'bar' => 'baz'
]
];
public function testIsDir()
{
$this->assertTrue(is_dir("$this->scheme://foo"));
}
public function testIsFile()
{
$this->assertTrue(is_file("$this->scheme://foo/bar"));
}
}