Exemplo n.º 1
0
        public void ControllerGetStatusFail(int claimID, int policyID)
        {
            Mock <IClaimRepository> mock = new Mock <IClaimRepository>();

            mock.Setup(p => p.GetClaimStatus(claimID, policyID)).Returns(s);
            ClaimsController pc = new ClaimsController(mock.Object);
            var result          = pc.GetClaimStatus(claimID, policyID).Result;

            Assert.IsNotNull(result);
        }