OcelotContext { public void setLocale(Locale locale) { setLocaleToHttpSession(locale); }  HttpSession getHttpSession(); Locale getLocale(); void setLocale(Locale locale); boolean isUserInRole(String role); Principal getPrincipal();  }
@Test public void testSetLocale() { System.out.println("setLocale"); instance.setLocale(Locale.CHINA); verify(instance).setLocaleToHttpSession(eq(Locale.CHINA)); }