コード例 #1
0
        public void Delete()
        {
            var store      = new ContactStore();
            var controller = new ContactManagerController(store);
            int id         = 2;

            controller.Delete(id);
            Assert.IsNull(store.Get(id));
        }