public void Can_add_codes() { var manager = new UsedCodesManager(); Assert.IsFalse(manager.IsCodeUsed(42L, "def","u")); manager.AddCode(42L, "def", "u"); Assert.IsTrue(manager.IsCodeUsed(42L, "def", "u")); }
public void Can_add_codes() { var manager = new UsedCodesManager(); Assert.IsFalse(manager.IsCodeUsed(42L, "def", "u")); manager.AddCode(42L, "def", "u"); Assert.IsTrue(manager.IsCodeUsed(42L, "def", "u")); }