### Question:
CurrentUserHandlerMethodArgumentResolver implements
		HandlerMethodArgumentResolver { public boolean supportsParameter(MethodParameter methodParameter) { return methodParameter.getParameterAnnotation(CurrentUser.class) != null && methodParameter.getParameterType().equals(User.class); }  boolean supportsParameter(MethodParameter methodParameter); Object resolveArgument(MethodParameter methodParameter,
			ModelAndViewContainer mavContainer, NativeWebRequest webRequest,
			WebDataBinderFactory binderFactory);  }### Answer:
@Test public void testSupportsParameter() throws NoSuchMethodException { assertTrue(resolver.supportsParameter(validParam)); assertFalse(resolver.supportsParameter(notAnnotatedParam)); assertFalse(resolver.supportsParameter(wrongTypeParam)); }