public void pollCookieWithConversion() throws Exception {
List<Cookie> cookies = new ArrayList<Cookie>();
cookies.add(new Cookie("intCookie", "2"));
cookies.add(new Cookie("booleanCookie", "true"));
ExtDirectPollResponse resp = ControllerUtil.performPollRequest(mockMvc,
"pollProvider", "messageCookieValue6", "messageCookieValue6", null, null,
cookies);
assertThat(resp).isNotNull();
assertThat(resp.getType()).isEqualTo("event");
assertThat(resp.getName()).isEqualTo("messageCookieValue6");
assertThat(resp.getData()).isEqualTo("theHeader;2;true");
assertThat(resp.getWhere()).isNull();
assertThat(resp.getMessage()).isNull();
}