System.Net.Tests.WebUtilityTests.UrlDecodeToBytes_NoDecodingNeeded_ReturnsNewClonedArray C# (CSharp) Method

UrlDecodeToBytes_NoDecodingNeeded_ReturnsNewClonedArray() private method

        public static void UrlDecodeToBytes_NoDecodingNeeded_ReturnsNewClonedArray()
        {
            byte[] input = Encoding.UTF8.GetBytes("Dont.Need.Decoding");
            byte[] output = WebUtility.UrlDecodeToBytes(input, 0, input.Length);
            Assert.NotSame(input, output);
        }