@Test
public void testMakeSql02() throws Exception {

    // 前処理
    DBMessageResourceDAOImpl dbmr = new DBMessageResourceDAOImpl();
    dbmr.codeColumn = "";
    dbmr.languageColumn = "LANGUAGE";
    dbmr.countryColumn = "COUNTRY";
    dbmr.variantColumn = "VARIANT";
    dbmr.messageColumn = "MESSAGE";
    dbmr.tableName = "MESSAGES";
    dbmr.findMessageSql = null;
    // テスト実施
    try {
        logger.clear();
        dbmr.makeSql();
        fail();
    } catch (IllegalArgumentException e) {
        // 判定
        assertEquals("illegalArgument: codeColumn is null or empty.", e
                .getMessage());
        assertThat(logger.getLoggingEvents(), is(asList(error(
                "illegalArgument: codeColumn is null or empty."))));
    }
}