/** * Test set up */ public function setUp() { parent::setUp(); $this->service = new SearchMediaService($this->appName, $this->environment, $this->logger); }
/** * Test set up */ public function setUp() { parent::setUp(); $this->configParser = $this->getMockBuilder('\\OCA\\GalleryPlus\\Service\\ConfigParser')->disableOriginalConstructor()->getMock(); $this->service = new ConfigService($this->appName, $this->environment, $this->configParser, $this->logger); }