eZ\Bundle\EzPublishCoreBundle\Tests\Imagine\AliasGeneratorTest::testGetVariationOriginalNotFound PHP Method

testGetVariationOriginalNotFound() public method

    public function testGetVariationOriginalNotFound()
    {
        $this->dataLoader->expects($this->once())->method('find')->will($this->throwException(new NotLoadableException()));
        $field = new Field(array('value' => new ImageValue()));
        $this->aliasGenerator->getVariation($field, new VersionInfo(), 'foo');
    }