@Test
public void entropy() throws Exception {
final SockJsConfig config = SockJsConfig.withPrefix("/simplepush").disableWebSocket().build();
final FullHttpResponse response = Info.response(config, createHttpRequest("/simplepush"));
assertThat(infoAsJson(response).get("entropy").asLong(), is(notNullValue()));
response.release();
}
@Test
public void contentTypeHeader() throws Exception {
assertThat(headersFromInfo().get(HttpHeaders.Names.CONTENT_TYPE), equalTo("application/json; charset=UTF-8"));