@Test
public void getRequestWithQueryParameters() throws ServletException, IOException, ListenerException, ConfigurationException {

	addListener("queryParamTest", Methods.GET);
	Map<String, String> headers = new HashMap<String, String>();
	headers.put("Accept", "application/json");
	headers.put("content-type", "application/json");
	Response result = service(createRequest("queryParamTest?name=JOHN-DOE&GENDER=MALE", Methods.GET, null, headers));
	assertEquals(200, result.getStatus());
	assertEquals("JOHN-DOE", session.get("name"));
	assertEquals("MALE", session.get("GENDER"));
	assertEquals("OPTIONS, GET", result.getHeader("Allow"));
	assertNull(result.getErrorMessage());
}