LoginHandlerInterceptor extends HandlerInterceptorAdapter implements ServletContextAware { public static Map<String, String> getEnvironment() { return ENV.get(); } LoginHandlerInterceptor(); @VisibleForTesting  LoginHandlerInterceptor(SecurityService securityService); static Map<String, String> getEnvironment(); @Override boolean preHandle(final HttpServletRequest request, final HttpServletResponse response,
      final Object handler); @Override void afterCompletion(final HttpServletRequest request, final HttpServletResponse response,
      final Object handler, final Exception ex); @Override void afterConcurrentHandlingStarted(HttpServletRequest request,
      HttpServletResponse response, Object handler); @Override void setServletContext(ServletContext servletContext);  }
@Test public void beforeFirstCallToPreHandle_environmentIsEmpty() { assertThat(LoginHandlerInterceptor.getEnvironment()).isEmpty(); }