@Test
public void canHandleTheCorrectMethod() {

	when(request.getRequestURI()).thenReturn("/url");
	when(request.getMethod()).thenReturn("POST");
	when(router.parse("/url", HttpMethod.POST,webRequest)).thenReturn(method);
ResourceMethod resource = translator.translate(info);
assertThat(resource, is(equalTo(method)));
}