public void Deserialization_without_converter_should_throw_exception() { Assert.ThrowsAny <JsonSerializationException>(() => { SutIncorrect result = JsonConvert.DeserializeObject <SutIncorrect>(_json); }); }
public void Deserialization_without_converter_should_return_same_value() { SutIncorrect result = JsonConvert.DeserializeObject <SutIncorrect>(_json); Assert.Equal("/simplePath.jpg", result.Output); }