public void Topping3() { #if !DEBUG Assert.Multiple(() => { #endif var expected = new Dictionary<string, string> { { "potato", "ketchup" }, { "fries", "ketchup" } }; var actual = _object.Topping3(new Dictionary<string, string> { { "potato", "ketchup" } }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, string> { { "potato", "butter" }, { "fries", "butter" } }; actual = _object.Topping3(new Dictionary<string, string> { { "potato", "butter" } }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, string> { { "spinach", "oil" }, { "salad", "oil" }, { "potato", "ketchup" }, { "fries", "ketchup" } }; actual = _object.Topping3(new Dictionary<string, string> { { "salad", "oil" }, { "potato", "ketchup" } }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, string> { { "toast", "butter" }, { "spinach", "oil" }, { "salad", "oil" }, { "potato", "ketchup" }, { "fries", "ketchup" } }; actual = _object.Topping3(new Dictionary<string, string> { { "toast", "butter" }, { "salad", "oil" }, { "potato", "ketchup" } }); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, string>(); actual = _object.Topping3(new Dictionary<string, string>()); CollectionAssert.AreEquivalent(expected, actual); expected = new Dictionary<string, string> { { "spinach", "pepper" }, { "salad", "pepper" }, { "fries", "salt" } }; actual = _object.Topping3(new Dictionary<string, string> { { "salad", "pepper" }, { "fries", "salt" } }); CollectionAssert.AreEquivalent(expected, actual); #if !DEBUG }); #endif }