@SuppressWarnings("unchecked")
  ResultCollector<Object, List<Object>> estimateLogSize(SizeExportLogsFunction.Args args,
      DistributedMember member) {
    return (ResultCollector<Object, List<Object>>) executeFunction(new SizeExportLogsFunction(),
        args, member);
  }
Wrapper to enable stubbing of static method call for unit testing
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/commands/ExportLogsCommand.java