public void Given_MultiDimensionalArray_When_FoldingToSingleRow_Then_CorrectValueReturned( string[,] data, Func <string, string, string> foldFunction, string[] expectedResult) { string[] result = data.FoldToSingleRow(foldFunction); Assert.AreEqual(expectedResult, result, "Folded row should equal expected value"); }