@Test
public void testDoubleEqDisjunction()
{

    Query query = Query.from( schemaService.getDynamicSchema( DataElement.class ) );
    Disjunction disjunction = query.disjunction();
    disjunction.add( Restrictions.eq( "id", "deabcdefghD" ) );
    disjunction.add( Restrictions.eq( "id", "deabcdefghF" ) );
    query.add( disjunction );
    List<? extends IdentifiableObject> objects = queryEngine.query( query );
    assertEquals( 2, objects.size() );
    assertTrue( collectionContainsUid( objects, "deabcdefghD" ) );
    assertTrue( collectionContainsUid( objects, "deabcdefghF" ) );
}