ElasticsearchAutocompleteTags implements AutocompleteTags { @Override public Call<List<String>> getKeys() { if (!enabled) return Call.emptyList(); return keysCall.clone(); } ElasticsearchAutocompleteTags(ElasticsearchStorage es); @Override Call<List<String>> getKeys(); @Override Call<List<String>> getValues(String key);  }
@Test void get_list_of_autocomplete_keys() throws Exception { assertThat(tagStore.getKeys().execute()) .contains("http#host", "http-url", "http.method"); }