MCPcopy Create free account
hub / github.com/Rello/analytics / createReportService

Method createReportService

tests/Service/ReportServiceTest.php:185–195  ·  view source on GitHub ↗
(ReportMapper $reportMapper, DatasetService $datasetService)

Source from the content-addressed store, hash-verified

183 }
184
185 private function createReportService(ReportMapper $reportMapper, DatasetService $datasetService): ReportService {
186 return new ReportService(
187 'u1', new FakeL10N(), $this->createMock(LoggerInterface::class),
188 $this->createMock(\OCP\ITagManager::class), $this->createMock(ShareService::class),
189 $datasetService, $this->createMock(StorageMapper::class), $reportMapper,
190 $this->createMock(ThresholdMapper::class), $this->createMock(DataloadMapper::class),
191 $this->createMock(ActivityManager::class), $this->createMock(\OCP\Files\IRootFolder::class),
192 $this->createMock(\OCP\IConfig::class), $this->createMock(VariableService::class),
193 $this->createMock(FlexibleStorageService::class)
194 );
195 }
196
197}

Calls

no outgoing calls

Tested by

no test coverage detected