public function vfsStreamDirectoryTestCase::defaultValues in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamDirectoryTestCase.php \org\bovigo\vfs\vfsStreamDirectoryTestCase::defaultValues()
test default values and methods
@test
File
- vendor/
mikey179/ vfsStream/ src/ test/ php/ org/ bovigo/ vfs/ vfsStreamDirectoryTestCase.php, line 47
Class
Namespace
org\bovigo\vfsCode
public function defaultValues() {
$this
->assertEquals(vfsStreamContent::TYPE_DIR, $this->dir
->getType());
$this
->assertEquals('foo', $this->dir
->getName());
$this
->assertTrue($this->dir
->appliesTo('foo'));
$this
->assertTrue($this->dir
->appliesTo('foo/bar'));
$this
->assertFalse($this->dir
->appliesTo('bar'));
$this
->assertEquals(array(), $this->dir
->getChildren());
}