eZ\Bundle\EzPublishCoreBundle\Tests\Imagine\IORepositoryResolverTest::testResolveNotFound PHP Method

testResolveNotFound() public method

public testResolveNotFound ( )
    public function testResolveNotFound()
    {
        $path = 'foo/something.jpg';
        $this->ioService->expects($this->once())->method('loadBinaryFile')->with($path)->will($this->throwException(new NotFoundException('foo', 'bar')));
        $this->imageResolver->resolve($path, 'some_filter');
    }