Exemple #1
0
        public void DeserializeFromStringDeserializesCorrectly()
        {
            var serializer = new DefaultJsonSerializer();

            var item = serializer.DeserializeFromString(_expectedJson, typeof(TypeForJsonSerializer)) as TypeForJsonSerializer;

            item.Should().NotBeNull();
            item.Should().BeEquivalentTo(_expectedItem);
        }