php-vfs/test/functional/FileSystemFunctionalTest.php
2014-07-06 17:32:19 +01:00

31 lines
626 B
PHP

<?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));
}
}