public void Test_Category_Products() { Category TestCategory = new Models.Category(); TestCategory.CategoryID = 1; var Result = TestCategory.GetProducts(); Assert.AreEqual(typeof(List <Product>), Result.GetType()); }
public void Test_Category_Products() { // Fase Preparar Category TestCategory = new Models.Category(); TestCategory.CategoryID = 1; // Fase Actual var result = TestCategory.GetProducts(); // Fase Asegurar Assert.AreEqual(typeof(List <Product>), result.GetType()); }
public void Test_Category_Products() { //1 Category TestCategory = new Models.Category(); TestCategory.CategoryID = 1; //2 var result = TestCategory.GetProducts(); //3 Assert.AreEqual(typeof(List <Product>), result.GetType()); }