public void or() {
String fiqlExpression = SyncopeClient.getUserSearchConditionBuilder().
is("fullname").equalTo("*o*", "*i*", "*ini").query();
assertEquals("fullname==*o*,fullname==*i*,fullname==*ini", fiqlExpression);
AttributeCond fullnameLeafCond1 = new AttributeCond(AttributeCond.Type.LIKE);
fullnameLeafCond1.setSchema("fullname");
fullnameLeafCond1.setExpression("%o%");
AttributeCond fullnameLeafCond2 = new AttributeCond(AttributeCond.Type.LIKE);
fullnameLeafCond2.setSchema("fullname");
fullnameLeafCond2.setExpression("%i%");
AttributeCond fullnameLeafCond3 = new AttributeCond(AttributeCond.Type.LIKE);
fullnameLeafCond3.setSchema("fullname");
fullnameLeafCond3.setExpression("%ini");
SearchCond orCond = SearchCond.getOrCond(
SearchCond.getLeafCond(fullnameLeafCond1),
SearchCond.getOrCond(
SearchCond.getLeafCond(fullnameLeafCond2),
SearchCond.getLeafCond(fullnameLeafCond3)));