eZ\Publish\Core\Persistence\Legacy\Tests\Content\StorageRegistryTest::testGetStorage PHP Method

testGetStorage() public method

public testGetStorage ( )
    public function testGetStorage()
    {
        $storage = $this->getStorageMock();
        $registry = new StorageRegistry(array('some-type' => $storage));
        $res = $registry->getStorage('some-type');
        $this->assertSame($storage, $res);
    }