public void FindArrestAlcoholDrugTest() { _arrestAlcoholDrug = new ArrestAlcoholDrugTest(DataEntryUnitTestFixture.IdentityId, DataEntryUnitTestFixture.AgencyDetails.Id, Guid.NewGuid()); _reportsUnitOfWork.Setup(mock => mock.Find <ArrestAlcoholDrugTest>(It.IsAny <Guid>(), It.IsAny <TrackingMode>(), It.IsAny <ThrowIf>())) .Returns(_arrestAlcoholDrug); var arrestReportAlcoholDrug = _arrestReportQueryService.FindArrestAlcoholDrugTest(It.IsAny <Guid>()); arrestReportAlcoholDrug.Should().NotBeNull(); }
private void SetUpArrestAlcoholDrug() { _arrestAlcoholDrug = new ArrestAlcoholDrugTest( DataEntryUnitTestFixture.IdentityId, DataEntryUnitTestFixture.AgencyDetails.Id, _arrestReport.Id); _reportsUnitOfWork.Setup( mock => mock.Find <ArrestAlcoholDrugTest>(It.IsAny <Guid>(), It.IsAny <TrackingMode>(), It.IsAny <ThrowIf>())) .Returns(_arrestAlcoholDrug); }