@Test
public void testGetAlternativeLocales02() throws Exception {

    // 前処理
    DataSourceMessageSource ds = new DataSourceMessageSource();
    Locale locale = new Locale("ja", "JP", "");
    Locale defaultLocale = new Locale("en", "US", "");
    ds.defaultLocale = defaultLocale;
    Locale locale1 = new Locale("ja", "", "");
    Locale defaultLocale2 = new Locale("en", "", "");
    // テスト実施
    List<Locale> locales = ds.getAlternativeLocales(locale);
    // 判定
    assertEquals(3, locales.size());
    assertEquals(locale1, locales.get(0));
    assertEquals(defaultLocale, locales.get(1));
    assertEquals(defaultLocale2, locales.get(2));
}