}
private void testOnlyOneParentPutOnChildDelete(JPATestCase.StartEnd startEnd,
int expectedPutsOnChildDelete)
throws Throwable {
HasOneToOneJPA pojo = new HasOneToOneJPA();
HasOneToOneParentJPA hasParent = new HasOneToOneParentJPA();
PutPolicy policy = setupPutPolicy(pojo, hasParent, startEnd);
try {
startEnd.start();
pojo = em.find(pojo.getClass(), pojo.getId());
pojo.setStr("another val");