public static ListClientMetricsResourcesResult listClientMetricsResourcesResult(String... names) {
        return new ListClientMetricsResourcesResult(
                KafkaFuture.completedFuture(Arrays.stream(names)
                        .map(ClientMetricsResourceListing::new)
                        .collect(Collectors.toList())));
    }
Helper to create a DescribeTopicsResult instance for a given topic.
DescribeTopicsResult's constructor is only accessible from within the
admin package.
clients/src/test/java/org/apache/kafka/clients/admin/AdminClientTestUtils.java