### Question:
PatternUtil { public static String getMatchingLocaleFromLib(String locale) { LocaleAction la = LocaleAction.getInstance(); return la.getLocaleWithDefaultRegion(locale); }  static String getPatternFromLib(String locale, String categories); static String getRegionFromLib(String language); static String getCitiesFromLib(String language); static String getLanguageFromLib(String displayLanguage); static String getContextTransformFromLib(String displayLanguage); static String getMatchingLocaleFromLib(String locale); static TimeZoneName getTimeZoneName(String locale, boolean defaultTerritory);  }### Answer:
@Test public void getMatchingLocaleFromLib() { String locale = PatternUtil.getMatchingLocaleFromLib("en_US"); Assert.assertEquals("en", locale); }