System.Tests.StringTests.Join_ObjectArray C# (CSharp) Method

Join_ObjectArray() private method

private Join_ObjectArray ( string separator, object values, string expected ) : void
separator string
values object
expected string
return void
        public static void Join_ObjectArray(string separator, object[] values, string expected)
        {
            Assert.Equal(expected, string.Join(separator, values));
            if (!(values.Length > 0 && values[0] == null))
            {
                Assert.Equal(expected, string.Join(separator, (IEnumerable<object>)values));
            }
        }
StringTests