public testApiGetFilesystem_ReturnsFilesystem_WhenFsExists ( Kraken\Filesystem\FilesystemManagerInterface $fs ) | ||
$fs | Kraken\Filesystem\FilesystemManagerInterface |
public function testApiGetFilesystem_ReturnsFilesystem_WhenFsExists(FilesystemManagerInterface $fs)
{
$prefix = 'prefix';
$mock = $this->createFilesystemMock();
$fs->mountFilesystem($prefix, $mock);
$this->assertSame($mock, $fs->getFilesystem($prefix));
}