public void GetAllClaimFieldsOperatorsTest() { Mock <IReportSelectionRepository> reportSelectionRepository = new Mock <IReportSelectionRepository>(); ReportSelectionLogic target = new ReportSelectionLogic(reportSelectionRepository.Object); List <ClaimFieldOperator> claimFieldOperators = new List <ClaimFieldOperator> { new ClaimFieldOperator { FacilityId = 1 } }; reportSelectionRepository.Setup(f => f.GetAllClaimFieldsOperators()).Returns(claimFieldOperators); List <ClaimFieldOperator> actual = target.GetAllClaimFieldsOperators(); Assert.IsNotNull(actual); }
/// <summary> /// Gets all ClaimField Operators. /// </summary> /// <returns></returns> public List <ClaimFieldOperator> GetAllClaimFieldsOperators() { return(_reportSelectionLogic.GetAllClaimFieldsOperators()); }