private void checkTorqueInitialisationWithPIntegerPk() throws TorqueException
{
ForeignKeySchemaData.clearTablesInDatabase();
PIntegerPk pIntegerPk = new PIntegerPk();
pIntegerPk.setName("shutdownName");
pIntegerPk.save();
List<PIntegerPk> pIntegerPkList
= PIntegerPkPeer.doSelect(new Criteria());
assertEquals(
"List should contain one PIntegerPk",
1,