protected function setUp() { parent::setUp(); $this->filter = $this->getMock('\\eZ\\Bundle\\EzPublishCoreBundle\\Imagine\\Filter\\FilterInterface'); $this->loader = new SwirlFilterLoader($this->filter); }