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);
 }
示例#2
0
 public function GenerateCommonReport(ICannedReport $cannedReport)
 {
     $data = $this->repository->GetCustomReport($cannedReport->GetBuilder());
     return new CustomReport($data, $this->attributeRepository);
 }