public void AddClaimQueue_ShouldGetNotNull() { ClaimsPoco claim = new ClaimsPoco(); claim.ClaimId = 3; ClaimsRepo repo = new ClaimsRepo(); repo.AddClaimsQueue(claim); ClaimsPoco claimFromDirectory = repo.GetClaimById(3); Assert.IsNotNull(claimFromDirectory); }
public void AddToClaimsQueue_ShouldNotGetNull() { //arrange ClaimsProp content = new ClaimsProp(); content.ClaimID = 1; ClaimsRepo repository = new ClaimsRepo(); //act repository.AddToClaimsQueue(content); ClaimsProp contentFromRepo = repository.GetClaimById(1); //Assert Assert.IsNotNull(contentFromRepo); }