System.Net.Http.Tests.AuthenticationHeaderValueTest.CallGetAuthenticationLength C# (CSharp) Method

CallGetAuthenticationLength() private static method

private static CallGetAuthenticationLength ( string input, int startIndex, int expectedLength, AuthenticationHeaderValue expectedResult ) : void
input string
startIndex int
expectedLength int
expectedResult System.Net.Http.Headers.AuthenticationHeaderValue
return void
        private static void CallGetAuthenticationLength(string input, int startIndex, int expectedLength,
            AuthenticationHeaderValue expectedResult)
        {
            object result = null;
            Assert.Equal(expectedLength, AuthenticationHeaderValue.GetAuthenticationLength(input, startIndex, out result));
            Assert.Equal(expectedResult, result);
        }