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

	String uri = "etag45";
	addListener(uri, Methods.POST);
	String etagCacheKey = ApiCacheManager.buildCacheKey(uri);
	ApiCacheManager.getInstance().put(etagCacheKey, "my-etag-value");
	Map<String, String> headers = new HashMap<String, String>();
	headers.put("if-match", "my-etag-value");
	Response result = service(createRequest(uri, Methods.POST, "{\"tralalalallala\":true}", headers));
	System.out.println(result);
	assertEquals(200, result.getStatus());
	assertEquals("{\"tralalalallala\":true}", result.getContentAsString());
	assertTrue(result.containsHeader("Allow"));
	assertNull(result.getErrorMessage());
}