public static TopicConsumerConfigurationData ofTopicsPattern(@NonNull Pattern topicsPattern, int priorityLevel) {
        return of(new TopicNameMatcher.TopicsPattern(topicsPattern), priorityLevel);
    }
@Test
    public void testNullTopicsPattern() {
        assertThatNullPointerException()
                .isThrownBy(() -> TopicConsumerConfigurationData.ofTopicsPattern(null, 1));
    }