Пример #1
0
        public void TestAdd()
        {
            var hr = new HeroRepository();

            hr.AddOrUpdate(new RegularHuman("Foo", "Bar"));
            Assert.NotNull(hr.GetPersonByName("Foo"));
            Assert.Null(hr.GetPersonByName("Doe"));
        }