expect(result.getUpdateRule()).andReturn(DatabaseMetaData.importedKeyCascade)
.anyTimes();
expect(result.getForeignKeySchemaName()).andStubReturn("TestSchema");
expect(result.getPrimaryKeySchemaName()).andStubReturn("TestSchema");
ForeignKeyColumnInfo mockForeignKeyColumnInfo = createMock("mockForeignKeyColumnInfo", ForeignKeyColumnInfo.class);
expect(mockForeignKeyColumnInfo.getForeignKeyColumnName()).andStubReturn(ccol);
expect(mockForeignKeyColumnInfo.getPrimaryKeyColumnName()).andStubReturn(pcol);
expect(mockForeignKeyColumnInfo.getKeySequence()).andStubReturn(0);
expect(result.getForeignKeyColumnInfo()).andStubReturn(new ForeignKeyColumnInfo[] { mockForeignKeyColumnInfo });
replay(mockForeignKeyColumnInfo);