Exemplo n.º 1
0
        public void MyTestMethod_GetClaimsByID()
        {
            Claims claim2 = new Claims(3, ClaimsType.Car,
                                       "465...", 4000.00m,
                                       new DateTime(2020, 04, 12),
                                       new DateTime(2020, 05, 07), true);

            _claimRepo.AddClaimsToqueue(claim2);

            Claims claim = _claimRepo.GetClaimsItemByID(3);

            Assert.IsTrue(claim.ClaimAmount == 4000 && claim.ClaimID == 3);
        }