public void ToPrettyPrintList_MissingListPrefix_ReturnsCorrectString() { var a = new[] {"one", "two"}; var delimitedString = a.ToPrettyPrintList(listItemPrefix: " - ", listItemDelimiter: "\r\n", listSuffix: "..."); Assert.That(delimitedString == @" - one - two..."); }