public void OrderByColor() { var colorSpecification = new ColorSpecification("red"); var filteredList = filterManager.Apply(productList, colorSpecification); foreach (var product in filteredList) { Assert.AreEqual("red", product.Color()); } }
public void OrderByColor() { var colorSpecification = new ColorSpecification("red"); var filteredList = filterManager.Apply(productList, colorSpecification); foreach (var product in filteredList) { Assert.AreEqual("red", product.Color()); } }