MockHttpServletRequest request = new MockHttpServletRequest("GET", "/user/test.html");
MockHttpServletResponse response = new MockHttpServletResponse();
assertTrue(interceptor.preHandle(request, response, null));
assertNotNull(ValidationContextHolder.getValidationContext());
assertTrue(DefaultValidationContext.class.isInstance(ValidationContextHolder.getValidationContext()));
DefaultValidationContext context = (DefaultValidationContext) ValidationContextHolder.getValidationContext();
assertEquals(2, context.getTokens().length);
assertEquals("ctx1", context.getTokens()[0]);
assertEquals("ctx2", context.getTokens()[1]);
}