//verbose("create new instance by jdo constructor ...");
final Object[] args = new Object[]{null};
final Object instance = ctor.newInstance(args);
//verbose("cast instance to PersistenceCapable ...");
PersistenceCapable pc = (PersistenceCapable)instance;
//verbose("check jdoStateManager ...");
if (pc.jdoGetStateManager() != null) {
println("!!! ERROR: invokation of JDO constructor:");
println(" pc.jdoStateManager != null");
println("!!! failed testing JDO constructor");
return ERROR;
}
//verbose("check jdoFlags ...");
if (pc.jdoGetFlags() != 1) {
println("!!! ERROR: invokation of JDO constructor:");
println(" pc.jdoFlags != 0");
println("!!! failed testing JDO constructor");
return ERROR;
}