public void addClaimToQue_ShouldReturnTrue() { KClaim claim = new KClaim(); kmenuRepo repo = new kmenuRepo(); bool addedResult = repo.AddClaimToDirectory(claim); Assert.IsTrue(addedResult); }
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); }
public void NextClaim_ShouldReturnCorrectClaim() { KClaim claim1 = new KClaim(); KClaim claim2 = new KClaim(); kmenuRepo repo = new kmenuRepo(); repo.AddClaimToDirectory(claim1); repo.AddClaimToDirectory(claim2); KClaim testQue = repo.NextClaim(); Assert.AreEqual(claim1, testQue); }