@SafeVarargs
    private static void assertMapsEqual(Map<TopicPartition, FetchRequest.PartitionData> expected,
                                        Map<TopicPartition, FetchRequest.PartitionData>... actuals) {
        for (Map<TopicPartition, FetchRequest.PartitionData> actual : actuals) {
            assertMapEquals(expected, actual);
        }
    }
Create a set of TopicPartitions.  We use a TreeSet, in order to get a deterministic
ordering for test purposes.
clients/src/test/java/org/apache/kafka/clients/FetchSessionHandlerTest.java