public void TestUpdateCategory() { //prepare SubjectModel dut = new SubjectModel(crud); Category category = new Category(); category.Name = "lamas"; category.Active = false; category.Id = 15; //test bool result = dut.UpdateCategory(category); //validate Assert.IsTrue(result); }