예제 #1
0
        public void Does_not_encode_when_Unencoded_attribute_used()
        {
            var test = new TestClassWithUnencodedProperty {
                Name = "hello there"
            };
            var result = new HttpPostSerializer().Serialize(test);

            result.ShouldEqual("Name=hello there");
        }
 public void Does_not_encode_when_Unencoded_attribute_used()
 {
     var test = new TestClassWithUnencodedProperty {Name = "hello there"};
     var result = new HttpPostSerializer().Serialize(test);
     result.ShouldEqual("Name=hello there");
 }