public void ArrayToDelimitedString() { Foo[] arr = new Foo[] { new Foo("Foo"), new Foo("Bar") }; Assert.AreEqual( ":Foo,:Bar", StringUtils.ArrayToCommaDelimitedString(arr)); Assert.AreEqual("null", StringUtils.ArrayToCommaDelimitedString(null)); }
public void ArrayToDelimitedString() { Foo[] arr = new Foo[] { new Foo("Foo"), new Foo("Bar") }; Assert.AreEqual( ":Foo,:Bar", StringUtils.ArrayToCommaDelimitedString(arr)); Assert.AreEqual("null", StringUtils.ArrayToCommaDelimitedString(null)); }