assertThat(response.getStatus(), equalTo(HttpResponseStatus.OK));
assertThat(response.headers().get(CONTENT_TYPE), equalTo(EventSourceTransport.CONTENT_TYPE_EVENT_STREAM));
SockJsTestUtil.verifyNoCacheHeaders(response);
final DefaultHttpContent newLinePrelude = ch.readOutbound();
assertThat(newLinePrelude.content().toString(UTF_8), equalTo("\r\n"));
final DefaultHttpContent data = ch.readOutbound();
assertThat(data.content().toString(UTF_8), equalTo("data: o\r\n\r\n"));
}
private static EmbeddedChannel newEventSourceChannel() {