@Test
public void testCreateLocale02() throws Exception {

    // 前処理
    DataSourceMessageSource ds = new DataSourceMessageSource();
    DBMessage message = new DBMessage("test01", null, null, null, "テストメッセージ０１");
    ds.defaultLocale = null;
    // テスト実施
    try {
        ds.createLocale(message);
        fail();
    } catch (IllegalArgumentException e) {
        // 判定
        assertEquals(
                "Can't resolve Locale.Define Locale in MessageSource or Defaultlocale.",
                e.getMessage());
        assertThat(logger.getLoggingEvents(), is(asList(error(
                "Can't resolve Locale.Define Locale in MessageSource or Defaultlocale."))));
    }
}