mirror of
https://github.com/adlawson/php-vfs.git
synced 2024-11-22 12:35:13 +00:00
31 lines
626 B
PHP
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));
|
||
|
}
|
||
|
}
|