private void queryAndCompareUIF(Object... params) throws Exception {
  final QueryResponse expect=query(params);
  final Object[] newParams=Arrays.copyOf(params,params.length + 2);
  newParams[newParams.length - 2]="facet.method";
  newParams[newParams.length - 1]="uif";
  final QueryResponse uifResult=query(newParams);
  compareResponses(expect,uifResult);
}

private void queryAndCompareUIF ( Object ... params ) throws Exception { final QueryResponse expect = query ( params ) ; final Object [ ] newParams = Arrays . copyOf ( params , params . length + 2 ) ; newParams [ newParams . length - 2 ] = "facet.method" ; newParams [ newParams . length - 1 ] = "uif" ; final QueryResponse uifResult = query ( newParams ) ; compareResponses ( expect , uifResult ) ; }
comparing results with facet . method = uif
