code: @Override
    public <T> T getReference(Class<T> beanType, Object id) {
      methodCalls.add(MethodCall.of("getReference").with("beanType", beanType, "id", id));
      return delegateQuery.getReference(beanType, id);
    }
docs: -- delegateQuery ------------------------