public void IncidentReportQueryService_FindIncidentReport() { Guid reportId = GetReportId(); Assert.IsInstanceOfType(reportId, typeof(Guid)); Assert.AreNotEqual(reportId, Guid.Empty); // Find Incident Report var iReportQueryService = GetDependency <IIncidentReportQueryService>(); Assert.IsInstanceOfType(iReportQueryService, typeof(IIncidentReportQueryService)); IncidentReportDetails reportDetails = iReportQueryService.FindIncidentReport(reportId); Assert.IsNotNull(reportDetails); Assert.AreEqual(reportId, reportDetails.Id); }
public void Update(IncidentReportDetails report) { _incidentReportCommandService.UpdateReport(report); }