### Question:
LocalizationScriptService implements ScriptService { public Locale getCurrentLocale() { return this.localizationContext.getCurrentLocale(); }  Translation get(String key); Translation get(String key, Locale locale); boolean use(String bundleType, String bundleId); Locale getCurrentLocale(); Locale toLocale(String str); String render(String key); String render(Collection<String> keys); String render(String key, Locale locale); String render(Collection<String> keys, Locale locale); String render(String key, Collection<?> parameters); String render(Collection<String> keys, Collection<?> parameters); String render(String key, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Collection<?> parameters, Locale locale); String render(String key, Syntax syntax); String render(Collection<String> keys, Syntax syntax); String render(String key, Syntax syntax, Locale locale); String render(Collection<String> keys, Syntax syntax, Locale locale); String render(String key, Syntax syntax, Collection<?> parameters); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters); String render(String key, Syntax syntax, Collection<?> parameters, Locale locale); String render(Collection<String> keys, Syntax syntax, Collection<?> parameters, Locale locale); Set<Locale> getAvailableLocales();  }### Answer:
@Test public void getCurrentLocale() throws Exception { when(localizationContext.getCurrentLocale()).thenReturn(Locale.ENGLISH); assertEquals(Locale.ENGLISH, localizationScriptService.getCurrentLocale()); }