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

	addListener("etag1", Methods.GET);
	Map<String, String> headers = new HashMap<String, String>();
	headers.put("Accept", "application/json");
	headers.put("content-type", "application/json");
	session = new HashMap<String, Object>();
	session.put("response-content", "{\"tralalalallala\":true}");
	Response result = service(createRequest("etag1", Methods.GET, null, headers));
	assertEquals(200, result.getStatus());
	assertEquals("OPTIONS, GET", result.getHeader("Allow"));
	assertNull(result.getErrorMessage());
	assertTrue(result.containsHeader("etag"));
}