public void EmptyDeregisterTest() { repo = new Repository(); repo.Deregister("item1"); string result = repo.Retrieve("item1"); Assert.AreEqual(string.Empty, result); }
public void DeregisterTest() { repo = new Repository(); repo.Deregister("item3"); //validate content string item3 = repo.Retrieve("item3"); Assert.AreEqual(string.Empty, item3); }