### Question:
JaxRsRequest extends RequestDetails { @Override protected byte[] getByteStreamRequestContents() { return StringUtils.defaultString(myResourceString, "") .getBytes(ResourceParameter.determineRequestCharset(this)); } JaxRsRequest(AbstractJaxRsProvider server, String resourceString, RequestTypeEnum requestType,
							  RestOperationTypeEnum restOperation); @Override Charset getCharset(); @Override FhirContext getFhirContext(); @Override String getHeader(String headerKey); @Override List<String> getHeaders(String name); @Override Object getAttribute(String theAttributeName); @Override void setAttribute(String theAttributeName, Object theAttributeValue); @Override InputStream getInputStream(); @Override Reader getReader(); @Override IRestfulResponse getResponse(); @Override AbstractJaxRsProvider getServer(); void setServer(AbstractJaxRsProvider theServer); @Override String getServerBaseForRequest();  }### Answer:
@Test public void testGetByteStreamRequestContents() { assertEquals(RESOURCE_STRING, new String(details.getByteStreamRequestContents())); }