@Test
public void testMapRow02() throws Exception {

    // 前処理
    DataSource ds = mock(DataSource.class);
    DBMessageQuery db = new DBMessageQuery(ds, "SELECT CODE,MESSAGE FROM MESSAGES", "CODE", "LANGUAGE", "COUNTRY", "VARIANT", "MESSAGE");
    int rowNum = 0;
    db.rsCodeColumn = "code";
    db.rsLanguageColumn = "language";
    db.rsCountryColumn = "country";
    db.rsVariantColumn = "variant";
    db.rsMessageColumn = "message";
    // 擬似ResultSetの設定
    ResultSet rs = mock(ResultSet.class);
    when(rs.getString("code")).thenReturn("");
    when(rs.getString("language")).thenReturn("");
    when(rs.getString("country")).thenReturn("");
    when(rs.getString("variant")).thenReturn("");
    when(rs.getString("message")).thenReturn("");
    rs.first();
    // テスト実施
    DBMessage dbmReturn = (DBMessage) db.mapRow(rs, rowNum);
    // 判定
    assertEquals("", dbmReturn.getCode());
    assertEquals("", dbmReturn.getLanguage());
    assertEquals("", dbmReturn.getCountry());
    assertEquals("", dbmReturn.getVariant());
    assertEquals("", dbmReturn.getMessage());
}