@Test public void testAddSystemTopic() { String topic = "SYSTEM_TOPIC_TEST"; TopicValidator.addSystemTopic(topic); assertThat(TopicValidator.getSystemTopicSet()).contains(topic); }
public static void addSystemTopic(String systemTopic) { SYSTEM_TOPIC_SET.add(systemTopic); }
TopicValidator { public static void addSystemTopic(String systemTopic) { SYSTEM_TOPIC_SET.add(systemTopic); } }
TopicValidator { public static void addSystemTopic(String systemTopic) { SYSTEM_TOPIC_SET.add(systemTopic); }  }
TopicValidator { public static void addSystemTopic(String systemTopic) { SYSTEM_TOPIC_SET.add(systemTopic); }  static boolean validateTopic(String topic, RemotingCommand response); static boolean isSystemTopic(String topic, RemotingCommand response); static boolean isSystemTopic(String topic); static boolean isNotAllowedSendTopic(String topic); static boolean isNotAllowedSendTopic(String topic, RemotingCommand response); static void addSystemTopic(String systemTopic); static Set<String> getSystemTopicSet(); static Set<String> getNotAllowedSendTopicSet(); }
TopicValidator { public static void addSystemTopic(String systemTopic) { SYSTEM_TOPIC_SET.add(systemTopic); }  static boolean validateTopic(String topic, RemotingCommand response); static boolean isSystemTopic(String topic, RemotingCommand response); static boolean isSystemTopic(String topic); static boolean isNotAllowedSendTopic(String topic); static boolean isNotAllowedSendTopic(String topic, RemotingCommand response); static void addSystemTopic(String systemTopic); static Set<String> getSystemTopicSet(); static Set<String> getNotAllowedSendTopicSet(); static final String AUTO_CREATE_TOPIC_KEY_TOPIC; static final String RMQ_SYS_SCHEDULE_TOPIC; static final String RMQ_SYS_BENCHMARK_TOPIC; static final String RMQ_SYS_TRANS_HALF_TOPIC; static final String RMQ_SYS_TRACE_TOPIC; static final String RMQ_SYS_TRANS_OP_HALF_TOPIC; static final String RMQ_SYS_TRANS_CHECK_MAX_TIME_TOPIC; static final String RMQ_SYS_SELF_TEST_TOPIC; static final String RMQ_SYS_OFFSET_MOVED_EVENT; static final String SYSTEM_TOPIC_PREFIX; }