public static TopicConsumerConfigurationData ofTopicsPattern(@NonNull Pattern topicsPattern, int priorityLevel) {
        return of(new TopicNameMatcher.TopicsPattern(topicsPattern), priorityLevel);
    }
@Test(dataProvider = "topicNameMatch")
    public void testTopicNameMatch(String topicName, boolean expectedMatch) {
        TopicConsumerConfigurationData topicConsumerConfigurationData = TopicConsumerConfigurationData
                .ofTopicsPattern(Pattern.compile("^foo$"), 1);
        assertThat(topicConsumerConfigurationData.getTopicNameMatcher().matches(topicName)).isEqualTo(expectedMatch);
    }