public void GenerateOutputForOrderWithoutErrors() { var dishes = new Dish[] { DishConstants.Coffee, DishConstants.Eggs, DishConstants.Cake, DishConstants.Potatoes, DishConstants.Steak, DishConstants.Toast, DishConstants.Wine }; var result = gen.GenerateResult(OrderTestHelper.CreateOrder(EOrderType.Morning, null, dishes.ToArray())); List <string> expectedList = new List <string>(dishes.Length); expectedList.AddRange(dishes.Select(dish => dish.DishDescription)); Assert.AreEqual(string.Join(", ", expectedList.ToArray()), result); }