@BeforeClass
  public static void setUpClass() throws Exception {
    _availableLocales = LanguageUtil.getAvailableLocales();
    _defaultLocale = LocaleUtil.getDefault();

    CompanyTestUtil.resetCompanyLocales(
        PortalUtil.getDefaultCompanyId(),
        Arrays.asList(LocaleUtil.CANADA_FRENCH, LocaleUtil.SPAIN, LocaleUtil.US),
        LocaleUtil.US);
  }
 @AfterClass
 public static void tearDownClass() throws Exception {
   CompanyTestUtil.resetCompanyLocales(
       PortalUtil.getDefaultCompanyId(), _availableLocales, _defaultLocale);
 }