@Override
  public String getNext() {
    return String.valueOf(queryIdCounter.getAndIncrement());
  }
@Test
  public void shouldGenerateMonotonicallyIncrementingIds() {
    assertThat(generator.getNext(), is("0"));
    assertThat(generator.getNext(), is("1"));
    assertThat(generator.getNext(), is("2"));
  }