コード例 #1
0
        public void GetClaimReviewedOptionTest()
        {
            Mock <IReportSelectionRepository> reportSelectionRepository = new Mock <IReportSelectionRepository>();

            reportSelectionRepository.Setup(x => x.GetClaimReviewedOption()).Returns(new List <ReviewedOptionType>());

            var target = new ReportSelectionLogic(reportSelectionRepository.Object);

            var actual = target.GetClaimReviewedOption();

            Assert.IsInstanceOfType(actual, typeof(List <ReviewedOptionType>));
        }
コード例 #2
0
 /// <summary>
 /// Gets the claim reviewed option.
 /// </summary>
 /// <returns></returns>
 public List <ReviewedOptionType> GetClaimReviewedOption()
 {
     return(_reportSelectionLogic.GetClaimReviewedOption());
 }