@Test
public void willSetHttpStatusCode415IfTheResourceMethodDoesNotSupportTheGivenMediaTypes() throws Exception {

	when(request.getContentType()).thenReturn("image/jpeg");
	interceptor.intercept(stack, consumeXml, null);
	verify(status).unsupportedMediaType("Request with media type [image/jpeg]. Expecting one of [application/xml].");
	verifyZeroInteractions(stack);
}