public void RemoveCategoryWhenCategoryNotExists()
        {
            RemoveCategorySlave slave = new RemoveCategorySlave(_handler.Object);

            slave.RemoveCategory("items");
            Assert.AreEqual((int)EditCategoryStatus.CategoryNotExistsInSystem, slave.Answer.Status);
        }
        public void RemoveCategorySuccess()
        {
            RemoveCategorySlave slave = new RemoveCategorySlave(_handler.Object);

            _handler.Setup(x => x.GetCategoryByName("items")).Returns(new Category("items"));
            slave.RemoveCategory("items");
            Assert.AreEqual((int)EditCategoryStatus.Success, slave.Answer.Status);
        }