Пример #1
0
        public void TestManager()
        {
            manager.add(first);
            Assert.Contains(first, manager.GetAll());
            manager.add(second);
            Assert.Contains(second, manager.GetAll());
            manager.add(third);
            Assert.Contains(third, manager.GetAll());

            manager.remove(first);
            manager.remove(second);
            manager.remove(third);
            Assert.Empty(manager.GetAll());
        }