testUpdateUpdateChild(NEW_PM_START_END);
}
private void testUpdateUpdateChild(StartEnd startEnd) throws EntityNotFoundException {
String expectedBidirKind = getEntityKind(BidirTop.class);
String expectedUnidirKind = getEntityKind(UnidirTop.class);
testUpdate_UpdateChild(new HasOneToManySet(), new BidirTop(), startEnd,
expectedBidirKind, expectedUnidirKind, UnidirLevel.Middle, 1);
testUpdate_UpdateChild(new HasOneToManySet(), new BidirMiddle(), startEnd,
expectedBidirKind, expectedUnidirKind, UnidirLevel.Top, 2);
testUpdate_UpdateChild(new HasOneToManySet(), new BidirBottom(), startEnd,
expectedBidirKind, expectedUnidirKind, UnidirLevel.Bottom, 3);