public function setUp()
 {
     parent::setUp();
     $this->fileRepository = $this->getMockBuilder('Xi\\Filelib\\File\\FileRepository')->disableOriginalConstructor()->getMock();
     $filelib = $this->getMockedFilelib(null, $this->fileRepository);
     $this->plugin = new ChangeFormatPlugin(array());
     $this->plugin->attachTo($filelib);
 }
 public function setUp()
 {
     if (!class_exists('Imagick')) {
         return $this->markTestSkipped('Imagick required');
     }
     parent::setUp();
     $this->storage = $this->getMockedStorage();
 }
 public function setUp()
 {
     if (!class_exists('Imagick')) {
         return $this->markTestSkipped('Imagick required');
     }
     parent::setUp();
     $this->storage = $this->getMockedStorage();
     $this->plugin = new VersionPlugin(array('xooxer' => array(array(), null), 'tooxer' => array(array(), null)));
 }