*
*/
public final void testTableToWatchInfoStatic() {
log.info("Start testTableToWatchInfoStatic");
I_Info info = new PropertiesInfo(new Properties());
// info.put("table.schema1.table1", null); does not work since info will no add this
info.put("table.schema1.table1", "actions=IDU");
info.put("table.schema1.table2", "actions=IDU,trigger=trigger2,sequence=10");
info.put("table.schema1.table3", "actions=IDU,trigger=trigger3,sequence=155");
info.put("table.schema1.table4", "actions=IDU,trigger=trigger4,sequence=6");
info.put("table.schema1.table5", "actions=IDU,trigger=trigger5,sequence=13");
info.put("tablesomethingother", "should be ignored");
info.put("somethingother", "should be ignored");
try {
Connection conn = null;
TableToWatchInfo[] tables = TableToWatchInfo.getTablesToWatch(conn, info);
assertEquals("number of tables", 5, tables.length);
assertEquals("table sequence #1", "table1", tables[0].getTable());