@Test
public void testInitDao02() throws Exception {

    // 前処理
    DBMessageResourceDAOImpl_JdbcTemplateStub01 jdbc = new DBMessageResourceDAOImpl_JdbcTemplateStub01();
    DBMessageResourceDAOImpl_DBMessageResourceDAOImplStub01 dbmr = new DBMessageResourceDAOImpl_DBMessageResourceDAOImplStub01();
    jdbc.ds = null;
    dbmr.dBMessageQuery = null;
    dbmr.codeColumn = "CODE";
    dbmr.languageColumn = "LANGUAGE";
    dbmr.countryColumn = "COUNTRY";
    dbmr.variantColumn = "VARIANT";
    dbmr.messageColumn = "MESSAGE";
    // テスト実施
    try {
        dbmr.initDao();
        fail();
    } catch (IllegalArgumentException e) {
        // 判定
        assertEquals("Missing dataSource in spring configuration file.", e
                .getMessage());
        assertThat(logger.getLoggingEvents(), is(asList(error(
                "Missing dataSource in spring configuration file."))));
    }
}