This commit is contained in:
jamesagnew 2016-06-16 07:52:36 -04:00
parent c9f85111ab
commit 3a0f97b6c1
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ public class GenericClientDstu2Test {
try {
client.read(new UriDt("http://example.com/InvalidResource/1"));
fail();
} catch (IllegalArgumentException e) {
assertEquals("Unable to determine the resource type from the given URI: ?aaaa", e.getMessage());
} catch (DataFormatException e) {
assertEquals("Unknown resource name \"InvalidResource\" (this name is not known in FHIR version \"DSTU2\")", e.getMessage());
}
}