Kraken\_Unit\Filesystem\FilesystemManagerTest::testApiGetFilesystem_ReturnsFilesystem_WhenFsExists PHP Method

testApiGetFilesystem_ReturnsFilesystem_WhenFsExists() public method

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