public void ShouldUpdateCategoryTitle()
        {
            var category = new Category("Placa Mãe");

            Assert.AreEqual(true, CategoryScopes.EditCategoryScopeIsValid(category, "MotherBoards"));
        }
        public void ShouldUpdateCategoryTitle()
        {
            var category = new Category("Console");

            Assert.AreEqual(true, CategoryScopes.UpdateCategoryScopeIsValid(category, "Jogos"));
        }
        public void ShouldRegisterCategory()
        {
            var category = new Category("Placa Mãe");

            Assert.AreEqual(true, CategoryScopes.CreateCategoryScopeIsValid(category));
        }
示例#4
0
        public void AlterarCategoria()
        {
            var category = new Category("Placa Mâe");

            Assert.AreEqual(true, CategoryScopes.UpdateCategoryScopeIsValid(category, "Modtherboard"));
        }