public void notEmpty() {
    if (result.isEmpty()) {
      throw new AssertionError(
              String.format("Expected query [%s] to return non empty result but was empty",
                      toDebugString(query)));
    }
  }
Generic checker for a {@link org.immutables.criteria.Criterion}
@param <T>
criteria/common/test/org/immutables/criteria/personmodel/CriteriaChecker.java