Esempio n. 1
0
        public void Can_Deserialize_Names_With_Double_Uppercase()
        {
            var doc        = JsonData.CreateJsonWithDoubleUppercase();
            var serializer = new JsonSerializer();
            var response   = new RestResponse {
                Content = doc
            };
            var p = serializer.Deserialize <PersonForJson>(response);

            Assert.AreEqual(435, p.PersonId);
        }