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

            var v = _itemsByName.Find(null);

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

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