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