@Test
public void testGetAllTicks() throws Exception {

  int number = 12;
  logger.info("given any {} ticks", number);
  populateElasticsearch(rdogOne, number, indexForTicks, typeForTicks, null, TickJson.class);
  logger.info("it should return all ticks");
  String result = service.findTicks();
  logger.info(" *** getAllTicks(): {}", result);
  @SuppressWarnings("unchecked")
  List<TickJson> ticks = (List<TickJson>) json.readValue(result, List.class);
  logger.info("expected:{}, actual:{}", number, ticks.size());
  assertThat(ticks).hasSize(number);
  assertThat(result).contains("timestamp");
}