*/
public class FilterOneToManyTest extends AbstractHibernateAssociationTest {
@Before
public void setUpTestDataWithinTransaction() throws LayerException {
AssociationFeature f1 = AssociationFeature.getDefaultInstance1(null);
AssociationFeature f2 = AssociationFeature.getDefaultInstance2(null);
AssociationFeature f3 = AssociationFeature.getDefaultInstance3(null);
AssociationFeature f4 = AssociationFeature.getDefaultInstance4(null);
Set<OneToManyProperty> otm1 = new HashSet<OneToManyProperty>();
otm1.add(OneToManyProperty.getDefaultInstance1(null, f1));
otm1.add(OneToManyProperty.getDefaultInstance2(null, f1));
f1.setOneToMany(otm1);
Set<OneToManyProperty> otm2 = new HashSet<OneToManyProperty>();
otm2.add(OneToManyProperty.getDefaultInstance3(null, f2));
otm2.add(OneToManyProperty.getDefaultInstance4(null, f2));
f2.setOneToMany(otm2);
Set<OneToManyProperty> otm3 = new HashSet<OneToManyProperty>();
otm3.add(OneToManyProperty.getDefaultInstance1(null, f3));
otm3.add(OneToManyProperty.getDefaultInstance3(null, f3));
f3.setOneToMany(otm3);
Set<OneToManyProperty> otm4 = new HashSet<OneToManyProperty>();
otm4.add(OneToManyProperty.getDefaultInstance1(null, f4));
otm4.add(OneToManyProperty.getDefaultInstance2(null, f4));
otm4.add(OneToManyProperty.getDefaultInstance3(null, f4));
otm4.add(OneToManyProperty.getDefaultInstance4(null, f4));
f4.setOneToMany(otm4);
layer.create(f1);
layer.create(f2);
layer.create(f3);
layer.create(f4);