### Question:
ConfigurationService { public Observable<Configuration> load(String id) { return session.executeAndFetch(findConfigurationGroup.bind(id)) .toMap(row -> row.getString(0), row -> row.getString(1)) .map(map -> new Configuration(id, map)); }  void init(RxSession session); Observable<Configuration> load(String id); Observable<String> load(String id, String name); Observable<Configuration> load(String id, Scheduler scheduler); Observable<Void> save(Configuration configuration); Observable<Void> save(String configId, String name, String value); Observable<Void> save(String configId, String name, String value, Scheduler scheduler); Completable delete(String configId, String name); Completable delete(String configId);  }### Answer:
@Test public void loadSettings() throws Exception { String configurationId = nextConfigurationId(); insertConfigurationProperty(configurationId, "x", "1"); insertConfigurationProperty(configurationId, "y", "2"); List<Configuration> results = getOnNextEvents(() -> configurationService.load(configurationId)); assertEquals(results.size(), 1); Configuration configuration = results.get(0); assertEquals(configuration.getProperties(), ImmutableMap.of("x", "1", "y", "2")); }