@Test
public void testGetAlternativeLocales01() throws Exception {

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