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

	addListener("test", Methods.GET);
	Response result = service(createRequest("test", Methods.PUT, null));
	assertEquals(405, result.getStatus());
	assertNull(result.getErrorMessage());
}