Exemplo n.º 1
0
        public void TestIDUniqueIsNotUnique()
        {
            // arrange - add a claim to the queue
            testClaimRepo.AddToQueue(new Claim(1, Claim.ClaimType.Car, "Vehicle Accident", 1500, new DateTime(2020, 03, 03), new DateTime(2020, 04, 01), true));

            //Act
            bool result = testClaimRepo.ClaimIdIsUnique(1);

            // arrange
            Assert.IsFalse(result);
        }