### Question:
KsqlRestConfig extends RestConfig { public Map<String, Object> getOriginals() { return originalsWithPrefix(""); } KsqlRestConfig(Map<?, ?> props); Map<String, Object> getOriginals(); Map<String, Object> getCommandConsumerProperties(); Map<String, Object> getCommandProducerProperties(); Map<String, Object> getKsqlConfigProperties(); String getCommandTopic(String ksqlServiceId); boolean isUiEnabled(); static final String COMMAND_CONSUMER_PREFIX; static final String COMMAND_PRODUCER_PREFIX; static final String STREAMED_QUERY_DISCONNECT_CHECK_MS_CONFIG; static final ConfigDef.Type STREAMED_QUERY_DISCONNECT_CHECK_MS_TYPE; static final Long STREAMED_QUERY_DISCONNECT_CHECK_MS_DEFAULT; static final ConfigDef.Importance STREAMED_QUERY_DISCONNECT_CHECK_MS_IMPORTANCE; static final String STREAMED_QUERY_DISCONNECT_CHECK_MS_DOC; static final String DISTRIBUTED_COMMAND_RESPONSE_TIMEOUT_MS_CONFIG; static final ConfigDef.Type DISTRIBUTED_COMMAND_RESPONSE_TIMEOUT_MS_TYPE; static final Long DISTRIBUTED_COMMAND_RESPONSE_TIMEOUT_MS_DEFAULT; static final ConfigDef.Importance DISTRIBUTED_COMMAND_RESPONSE_TIMEOUT_MS_IMPORTANCE; static final String DISTRIBUTED_COMMAND_RESPONSE_TIMEOUT_MS_DOC; static final String UI_ENABLED_CONFIG; static final ConfigDef.Type UI_ENABLED_TYPE; static final String UI_ENABLED_DEFAULT; static final ConfigDef.Importance UI_ENABLED_IMPORTANCE; static final String UI_ENABLED_DOC; static final String INSTALL_DIR_CONFIG; static final String INSTALL_DIR_DOC; static final String COMMAND_TOPIC_SUFFIX; static final String KSQL_WEBSOCKETS_NUM_THREADS; }### Answer:
@Test public void testOriginalsReplicability() { final String COMMIT_INTERVAL_MS = "10"; Map<String, Object> inputProperties = getBaseProperties(); inputProperties.put(StreamsConfig.COMMIT_INTERVAL_MS_CONFIG, COMMIT_INTERVAL_MS); KsqlRestConfig config = new KsqlRestConfig(inputProperties); final Map<String, Object> originals1 = config.getOriginals(); final Map<String, Object> originals2 = config.getOriginals(); assertEquals(originals1, originals2); assertNotSame(originals1, originals2); assertEquals(COMMIT_INTERVAL_MS, originals1.get(StreamsConfig.COMMIT_INTERVAL_MS_CONFIG)); assertEquals(COMMIT_INTERVAL_MS, originals2.get(StreamsConfig.COMMIT_INTERVAL_MS_CONFIG)); }