/** * @param context * Set this context as the used singleton. */ public static void setMockContext(final FacesContext context) { setCurrentInstance(context); }
@SuppressWarnings("unchecked") @Override public Iterator<Locale> getRequestLocales() { return new LocalesIterator(request.getLocales()); }
/** * @param context * Set this context as the used singleton. */ public static void setMockContext(final FacesContext context) { setCurrentInstance(context); }
@SuppressWarnings("unchecked") @Override public Iterator<Locale> getRequestLocales() { return new LocalesIterator(request.getLocales()); }