public void Print_WhenInvoked_ShouldReturnCategoryDetailsInValidStringFormat() { // Arrange var category = new Category("example"); // Act var executionResult = category.Print(); // Assert Assert.AreEqual("example category - 0 products in total", executionResult); }
public ICategory CreateCategory(string name) { ICategory category = new Category(name); return category; }
public Category CreateCategory(string name) { // TODO: create category Category newCategory = new Category(name); return newCategory; }