Пример #1
0
        public void RemoveSellingItemServiceSuccess()
        {
            RemoveSellingItemService service = new RemoveSellingItemService(EXISTING_CATEGORY, EXISTING_ITEM);

            service.Execute();
            Assert.IsNull(GetSellingItem(EXISTING_ITEM));
        }
Пример #2
0
        public void RemoveSellingItemServiceFailItemNull()
        {
            RemoveSellingItemService service = new RemoveSellingItemService(EXISTING_CATEGORY, null);

            service.Execute();
        }
Пример #3
0
        public void RemoveSellingItemServiceFailCategoryNull()
        {
            RemoveSellingItemService service = new RemoveSellingItemService(null, EXISTING_ITEM);

            service.Execute();
        }
Пример #4
0
        public void RemoveSellingItemServiceFailInexistingCategory()
        {
            RemoveSellingItemService service = new RemoveSellingItemService(INEXISTING_CATEGORY, EXISTING_ITEM);

            service.Execute();
        }