testDeleteChildWithSeparateNameField(startEnd, new UnidirBottomEncodedStringPkSeparateNameField());
}
private void testDeleteChildWithSeparateNameField(StartEnd startEnd,
UnidirTopEncodedStringPkSeparateNameField child) {
HasOneToManyWithSeparateNameFieldJDO parent = new HasOneToManyWithSeparateNameFieldJDO();
child.setName("the name");
parent.getChildren().add(child);
startEnd.start();
pm.makePersistent(parent);
startEnd.end();
startEnd.start();
parent = pm.getObjectById(HasOneToManyWithSeparateNameFieldJDO.class, parent.getId());
pm.deletePersistent(parent);
startEnd.end();
}