BloomTests.UrlPathStringTests.PathOnly_LooksEncodedButSetStrictlyTreatAsEncodedTrue_RoundTrips C# (CSharp) Method

PathOnly_LooksEncodedButSetStrictlyTreatAsEncodedTrue_RoundTrips() private method

        public void PathOnly_LooksEncodedButSetStrictlyTreatAsEncodedTrue_RoundTrips()
        {
            //this checks that PathOnly doesn't do processing in ambiguous mode, undoing the information we gave it to be strict
            Assert.AreEqual("test%20me", UrlPathString.CreateFromUnencodedString("test%20me", true).PathOnly.NotEncoded);
        }