@Test
public void testIdentifiableSearch6()
{

    Query query = Query.from( schemaService.getDynamicSchema( DataElement.class ), Junction.Type.OR );
    Restriction nameRestriction = Restrictions.like( "name", "deF", MatchMode.ANYWHERE );
    Restriction uidRestriction = Restrictions.like( "id", "deF", MatchMode.ANYWHERE );
    Restriction codeRestriction = Restrictions.like( "code", "deF", MatchMode.ANYWHERE );
    Junction identifiableJunction = new Disjunction( schemaService.getDynamicSchema( DataElement.class ) );
    identifiableJunction.add( nameRestriction );
    identifiableJunction.add( uidRestriction );
    identifiableJunction.add( codeRestriction );
    query.add( identifiableJunction );
    List<? extends IdentifiableObject> objects = queryEngine.query( query );
    assertEquals( 1, objects.size() );
}