assertThat(response.content().toString(CharsetUtil.UTF_8), equalTo("callback(\"c[2000,\\\"Oh no\\\"]\");\r\n"));
}
@Test
public void flushHeartbeatFrame() {
final FullHttpResponse response = writeFrame(new HeartbeatFrame());
assertThat(response.getStatus(), equalTo(HttpResponseStatus.OK));
SockJsTestUtil.verifyNoCacheHeaders(response);
assertThat(response.content().toString(CharsetUtil.UTF_8), equalTo("callback(\"h\");\r\n"));
}