public void WhenConvertingToJsonValueThenJsonValueIsReturned() { var content = new StringContent(CustomerJson); var jsonValue = content.ReadAsJsonValue(); Assert.AreEqual(1, jsonValue["CustomerID"].ReadAs<int>()); }
public void WhenConvertingToJsonValueThenJsonValueIsReturned() { var content = new StringContent(CustomerJson); var jsonValue = content.ReadAsJsonValue(); Assert.AreEqual(1, jsonValue["CustomerID"].ReadAs<int>()); }