public void TestParseResourceReference() { var i = new Model.ResourceReference("http://example.org/fhir/Patient/1", "a patient"); var node = i.ToTypedElement(); var p = node.ParseResourceReference(); Assert.True(p.IsExactly(i)); }
public void TestParseResourceReference() { var i = new Model.ResourceReference("http://example.org/fhir/Patient/1", "a patient"); var nav = new PocoNavigator(i); var p = nav.ParseResourceReference(); Assert.True(p.IsExactly(i)); }