/**
* testGetStatmentsConstructor
*/
public void testGetStatmentsConstructor() throws Exception {
Procedure proc = new DeleteCallForwarding();
proc.initialize(DatabaseType.POSTGRES);
// Make sure that procedure handle has the same
// SQLStmts as what we get back from the static method
Map<String, SQLStmt> expected = Procedure.getStatments(proc);
assertNotNull(expected);
System.err.println("EXPECTED:" + expected);
Map<String, SQLStmt> actual = proc.getStatments();
assertNotNull(actual);
System.err.println("ACTUAL:" + actual);
assertEquals(expected.size(), actual.size());
assertEquals(expected, actual);