@Test
public void canHandleComposedUrlIfNonRootContext() {

	when(request.getRequestURI()).thenReturn("/custom_context/products/1");
	when(request.getContextPath()).thenReturn("/custom_context");
	when(request.getMethod()).thenReturn("GET");
	when(router.parse("/products/1", HttpMethod.GET, webRequest)).thenReturn(method);
	ResourceMethod resource = translator.translate(info);
	assertThat(resource, is(equalTo(method)));
}