### Question:
StoreOptions { public int getHotStatePersistenceFrequencyInEpochs() { return hotStatePersistenceFrequencyInEpochs; }  int getHotStatePersistenceFrequencyInEpochs(); boolean isBlockProcessingAtStartupDisabled();  }### Answer:
@Test public void hotStatePersistenceFrequency_shouldRespectCLIArg() { final String[] args = { "--Xhot-state-persistence-frequency", "99", }; final GlobalConfiguration globalConfiguration = getGlobalConfigurationFromArguments(args); assertThat(globalConfiguration.getHotStatePersistenceFrequencyInEpochs()).isEqualTo(99); }
@Test public void hotStatePersistenceFrequency_shouldSetDefaultValue() { final GlobalConfiguration globalConfiguration = getGlobalConfigurationFromArguments(); assertThat(globalConfiguration.getHotStatePersistenceFrequencyInEpochs()).isEqualTo(1); }