We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946b52e commit 3e9851eCopy full SHA for 3e9851e
hapi-fhir-structures-r4/src/test/java/ca/uhn/fhir/rest/client/GenericClientR4Test.java
@@ -125,6 +125,9 @@ void testRawGetRequest() throws IOException {
125
assertEquals("http://example.com/fhir/someurl?param1=value1", UrlUtil.unescape(httpUriRequest.getURI().toString()));
126
String response = new String(result.getInputStream().readAllBytes(), StandardCharsets.UTF_8);
127
assertEquals(responseBody, response);
128
+ assertEquals("application/json", result.getMimeType());
129
+ assertEquals(200, result.getStatusCode());
130
+ assertTrue(result.getHeaders().isEmpty());
131
}
132
133
0 commit comments