verifyHttpPreload(response, expectedResult);
}
@Test
public void testHttpPreloadOfJsonArrayWithHeaders() throws Exception {
HttpResponse response = new HttpResponseBuilder()
.setResponseString("[1, 2]")
.addHeader("content-type", "application/json")
.addHeader("set-cookie", "cookiecookie")
.addHeader("not-ok", "shouldn'tbehere")
.create();