public void RecordField_FromJObject_1() { JObject jObject = JObject.Parse(@"{""tag"": ""200""," + @"""subfields"": []}"); RecordField field = RecordFieldUtility.FromJObject(jObject); Assert.AreEqual(200, field.Tag); }
public void RecordField_FromJObject_1() { JObject jObject = JObject.Parse(@"{""tag"": ""200""," + @"""subfields"": []}"); RecordField field = RecordFieldUtility.FromJObject(jObject); Assert.AreEqual(200, field.Tag); }