/**
* testStatementCache
*/
public void testStatementCache() throws Exception {
Procedure proc0 = this.getProcedure(slev.class);
Statement stmt0 = this.getStatement(proc0, "GetStockCount");
Procedure proc1 = this.getProcedure(neworder.class);
Statement stmt1 = this.getStatement(proc1, "createOrderLine");
// STMT0 is going to try to read to a table that STMT1 will write to
// So we should be able to see that conflict
StatementCache cache = this.checker.stmtCache.get(stmt0);
assertNotNull(stmt0.fullName(), cache);
ConflictPair cp = cache.conflicts.get(stmt1);
assertNotNull(stmt0.fullName()+"->"+stmt1.fullName(), cp);
assertTrue(cp.getAlwaysconflicting());
}