public void ShowAllClaims() { Queue <KClaim> claims = _kmenuRepo.GetClaim(); foreach (KClaim claim in claims) { DisplayMenu(claim); } Console.WriteLine("Press any key to continue"); Console.ReadKey(); }
public void getClaim_ShouldReturnTrue() { KClaim claim = new KClaim(); kmenuRepo repo = new kmenuRepo(); repo.AddClaimToDirectory(claim); Queue <KClaim> testQue = repo.GetClaim(); bool addClaim = testQue.Contains(claim); Assert.IsTrue(addClaim); }