"id", "owned_id"
}, new Object[] {
5, 6
});
BidiOneToManyOwned owned = getEntityManager().find(BidiOneToManyOwned.class, 5);
assertNotNull(owned);
assertEquals(1, owned.getOwners().size());
BidiOneToManyOwner owner = getEntityManager().find(BidiOneToManyOwner.class, 4);
assertNotNull(owner);
assertTrue(owned.getOwners().contains(owner));
BidiOneToManyOwner owner1 = getEntityManager().find(BidiOneToManyOwner.class, 5);
assertNotNull(owner1);
assertFalse(owned.getOwners().contains(owner1));
}