public void AddClaim_ShouldGetCorrectBoolean()
        {
            //ARRANGE
            ClaimItems           newClaim = new ClaimItems();
            ClaimItemsRepository repo     = new ClaimItemsRepository();

            //ACT
            bool addResult = repo.AddNewClaim(newClaim);

            //ASSERT
            Assert.IsTrue(addResult);
        }
        public void GetAllClaims_ShouldReturnCorrectListOfClaims()
        {
            //ARRANGE
            ClaimItems           newObject  = new ClaimItems();
            ClaimItemsRepository repository = new ClaimItemsRepository();

            repository.AddNewClaim(newObject);

            //ACT
            List <ClaimItems> listOfClaimItems = repository.GetAllClaims();

            //ASSERT
            bool claimHasItems = listOfClaimItems.Contains(newObject);

            Assert.IsTrue(claimHasItems);
        }
 public void Arrange()
 {
     _repo    = new ClaimItemsRepository();
     _content = new ClaimItems(4, ClaimType.Car, "Wreck on I-70.", 2000f, new DateTime(18, 04, 27), new DateTime(18, 04, 28), true);
     _repo.AddNewClaim(_content);
 }