示例#1
0
        public void KeyCanBeNull()
        {
            _items.Add(new TestObject(3, null));

            var v = _itemsByName.Find(null);

            Assert.AreEqual(3, v.Id);
        }
示例#2
0
        public void CanRetrieveValues()
        {
            var v = _itemsById.Find(1);

            Assert.AreEqual("one", v.Name);
        }