private String captureDescribeTopicStandardOut(TopicCommand.TopicCommandOptions opts) {
        Runnable runnable = () -> {
            try {
                topicService.describeTopic(opts);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        };
        return ToolsTestUtils.captureStandardOut(runnable);
    }
Test describe --under-min-isr-partitions option with four topics:
  (1) topic with partition under the configured min ISR count
  (2) topic with under-replicated partition (but not under min ISR count)
  (3) topic with offline partition
  (4) topic with fully replicated partition

Output should only display the (1) topic with partition under min ISR count and (3) topic with offline partition
tools/src/test/java/org/apache/kafka/tools/TopicCommandIntegrationTest.java