assertNull (deep.getDependent ());
ent.setDependent (new CascadesEntity ());
ent.getAllCollection ().add (new CascadesEntity ());
rel.setDependent (new CascadesEntity ());
deep.setDependent (new CascadesEntity ());
em.persistAll (ent.getAllCollection ());
em.persist (ent.getDependent ());
em.persist (rel.getDependent ());
em.persist (deep.getDependent ());
em.refresh (ent);
assertNull (ent.getDependent ());