public function testShouldStripImage() { $image = $this->getImage(); $filter = new Strip(); $image->expects($this->once())->method('strip')->will($this->returnValue($image)); $this->assertSame($image, $filter->apply($image)); }
public function load(ImageInterface $image, array $options = array()) { $filter = new Strip(); $image = $filter->apply($image); return $image; }