@Test public void testSetLocalizationWithServletRequest() throws Exception { ServletRequest servletRequest = mock(ServletRequest.class); LocalizationContextUtils.setLocalization(servletRequest, localization); verify(servletRequest).setAttribute(ATTRIBUTE_NAME, localization); }
public static void setLocalization(ServletRequest servletRequest, Localization localization) { servletRequest.setAttribute(ATTRIBUTE_NAME, localization); }
LocalizationContextUtils { public static void setLocalization(ServletRequest servletRequest, Localization localization) { servletRequest.setAttribute(ATTRIBUTE_NAME, localization); } }
LocalizationContextUtils { public static void setLocalization(ServletRequest servletRequest, Localization localization) { servletRequest.setAttribute(ATTRIBUTE_NAME, localization); } private  LocalizationContextUtils(); }
LocalizationContextUtils { public static void setLocalization(ServletRequest servletRequest, Localization localization) { servletRequest.setAttribute(ATTRIBUTE_NAME, localization); } private  LocalizationContextUtils(); static void setLocalization(ServletRequest servletRequest, Localization localization); static Localization getLocalization(ServletRequest servletRequest); static void setLocalization(ServletContext servletContext, Localization localization); static Localization getLocalization(ServletContext servletContext); }
LocalizationContextUtils { public static void setLocalization(ServletRequest servletRequest, Localization localization) { servletRequest.setAttribute(ATTRIBUTE_NAME, localization); } private  LocalizationContextUtils(); static void setLocalization(ServletRequest servletRequest, Localization localization); static Localization getLocalization(ServletRequest servletRequest); static void setLocalization(ServletContext servletContext, Localization localization); static Localization getLocalization(ServletContext servletContext);  }