testRemoveObject(NEW_EM_START_END);
}
private void testRemoveObject(StartEnd startEnd) throws Exception {
testRemoveObject(new HasOneToManySetJPA(), new BidirTopSet(nextNamedKey()),
new BidirTopSet(nextNamedKey()), startEnd, UnidirLevel.Top, UnidirLevel.Bottom, 1);
testRemoveObject(new HasOneToManySetJPA(), new BidirBottomSet(nextNamedKey()),
new BidirTopSet(nextNamedKey()), startEnd, UnidirLevel.Middle, UnidirLevel.Top, 2);
testRemoveObject(new HasOneToManySetJPA(), new BidirMiddleSet(nextNamedKey()),
new BidirTopSet(nextNamedKey()), startEnd, UnidirLevel.Bottom, UnidirLevel.Middle, 3);
}