}
private static void verifyIframe(final String service, final String path) {
final SockJsConfig config = SockJsConfig.withPrefix(service).cookiesNeeded().build();
final EmbeddedChannel ch = channelForMockService(config);
ch.writeInbound(httpRequest(config.prefix() + path));
final FullHttpResponse response = ch.readOutbound();
assertThat(response.getStatus().code(), is(HttpResponseStatus.OK.code()));
assertThat(response.headers().get(CONTENT_TYPE), equalTo("text/html; charset=UTF-8"));
assertThat(response.headers().get(CACHE_CONTROL), equalTo("max-age=31536000, public"));
assertThat(response.headers().get(EXPIRES), is(notNullValue()));