@Test
public void supportsUnsupportedReturnType() throws Exception {

	expect(argumentResolver1.supportsParameter(isA(MethodParameter.class))).andReturn(true);
	expect(returnValueHandler.supportsReturnType(isA(MethodParameter.class))).andReturn(false);
	replay(argumentResolver1, argumentResolver2, returnValueHandler);
	boolean result = adapter.supports(unsupportedEndpoint);
	assertFalse("adapter does not support method", result);
	verify(argumentResolver1, argumentResolver2, returnValueHandler);
}