public void KeyCanBeNull() { _items.Add(new TestObject(3, null)); var v = _itemsByName.Find(null); Assert.AreEqual(3, v.Id); }
public void CanRetrieveValues() { var v = _itemsById.Find(1); Assert.AreEqual("one", v.Name); }