public void TestCaseSensitive() { io = new IdentifiableObject(new string[] { "id1", "id2" }); io.AddIdentifier("ID5"); Assert.AreEqual(io.AreYou("id5"), true); }
public void TestFirstID() { io = new IdentifiableObject(new string[] { "id1", "id2" }); StringAssert.IsMatch(io.FirstId, "id1"); }
public void TestNotAreYou() { io = new IdentifiableObject(new string[] { "id1", "id2" }); Assert.AreEqual(io.AreYou("id5"), false); }
public void TestCreation() { io = new IdentifiableObject(new string[] { "id1", "id3" }); Assert.AreNotEqual(io, null); }