@Test
public void entitlements() {
String fiqlExpression = SyncopeClient.getRoleSearchConditionBuilder().hasEntitlements("USER_LIST").query();
assertEquals(SpecialAttr.ENTITLEMENTS + "==USER_LIST", fiqlExpression);
EntitlementCond entCond = new EntitlementCond();
entCond.setExpression("USER_LIST");
SearchCond simpleCond = SearchCond.getLeafCond(entCond);
assertEquals(simpleCond, SearchCondConverter.convert(fiqlExpression));
}