MySQLStorage extends StorageComponent { @Override public AutocompleteTags autocompleteTags() { return new MySQLAutocompleteTags(this, schema()); } MySQLStorage(MySQLStorage.Builder builder); static Builder newBuilder(); DataSource datasource(); @Override SpanStore spanStore(); @Override Traces traces(); @Override ServiceAndSpanNames serviceAndSpanNames(); @Override AutocompleteTags autocompleteTags(); @Override SpanConsumer spanConsumer(); @Override CheckResult check(); @Override final String toString(); @Override void close();  }
@Test public void returns_whitelisted_autocompletekey() throws Exception { DataSource dataSource = mock(DataSource.class); assertThat(storage(dataSource).autocompleteTags().getKeys().execute()) .containsOnlyOnce("http.method"); }