@Test
public void testIdentifiableSearch2()
{

    Query query = Query.from( schemaService.getDynamicSchema( DataElementGroup.class ), Junction.Type.OR );
    Junction disjunction = new Disjunction( schemaService.getDynamicSchema( DataElementGroup.class ) );
    disjunction.add( Restrictions.eq( "name", "DataElementGroupA" ) );
    disjunction.add( Restrictions.eq( "name", "DataElementGroupB" ) );
    query.add( disjunction );
    List<? extends IdentifiableObject> objects = queryEngine.query( query );
    assertEquals( 2, objects.size() );
}