= getNullableOIntegerFkList();
assertEquals(4, nullableOIntegerFkList.size());
assertFalse(nullableOIntegerFkList.contains(toDelete));
// calculate and check primary key
ObjectKey primaryKey = toDelete.getPrimaryKey();
assertTrue(primaryKey instanceof NumberKey);
assertEquals(new BigDecimal(preDeleteId), primaryKey.getValue());
// call delete method and check result.
int deleted = NullableOIntegerFkPeer.doDelete(primaryKey);
assertEquals(0, deleted);
assertEquals(preDeleteId, toDelete.getId().intValue());