public function apply(ImageInterface $image) { throw new NotSupportedException('Filter is not supported by your current configuration.'); }
/** * @expectedException \Imagine\Exception\NotSupportedException */ public function testLoad() { $filter = new UnsupportedFilter(); $filter->apply($this->getMock('\\Imagine\\Image\\ImageInterface')); }