protected void verify() {
   if (results.size() != expectedResults.size()) {
     throw new TestErrorException("ReportQuery test failed: The result size are different");
   }
   BigDecimal expected =
       (BigDecimal) ((ReportQueryResult) expectedResults.firstElement()).getByIndex(0);
   BigDecimal result =
       (BigDecimal)
           ConversionManager.getDefaultManager()
               .convertObject(
                   ((ReportQueryResult) results.firstElement()).getByIndex(0), BigDecimal.class);
   if (!Helper.compareBigDecimals(expected, result)) {
     throw new TestErrorException(
         "ReportQuery test failed: The results did not match (" + expected + ", " + result + ")");
   }
 }