php-vfs/test/functional/FileSystemFunctionalTest.php

31 lines
626 B
PHP
Raw Normal View History

2014-07-06 16:32:01 +00:00
<?php
namespace Vfs;
use RuntimeException;
use Vfs\Test\FunctionalTestCase;
class FileSystemFunctionalTest extends FunctionalTestCase
{
public function testMount()
{
$this->assertFalse($this->isMounted($this->scheme));
$this->fs->mount();
$this->assertTrue($this->isMounted($this->scheme));
}
public function testUnmount()
{
$this->assertFalse($this->isMounted($this->scheme));
$this->fs->mount();
$this->assertTrue($this->isMounted($this->scheme));
$this->fs->unmount();
$this->assertFalse($this->isMounted($this->scheme));
}
}