public function testDeletesReport() { $reportId = 1; $userId = 2; $this->reportingRepository->expects($this->once())->method('DeleteSavedReport')->with($this->equalTo($reportId), $this->equalTo($userId)); $this->rs->DeleteSavedReport($reportId, $userId); }
public function GenerateCommonReport(ICannedReport $cannedReport) { $data = $this->repository->GetCustomReport($cannedReport->GetBuilder()); return new CustomReport($data, $this->attributeRepository); }