FlowUpConfig { public Config getConfig() { return storage.getConfig(); } FlowUpConfig(ConfigStorage storage, ConfigApiClient apiClient); Config getConfig(); boolean updateConfig(); void disableClient();  }
@Test public void returnsTheConfigPersisted() throws Exception { Config persistedConfig = givenAnAlreadyPersistedConfig(); Config config = flowUpConfig.getConfig(); assertEquals(persistedConfig, config); }