@Test
public void testFindTicksByTickerAndDateGreaterThan() throws Exception {

  int number = 7;
  int expected = 4;
  logger.info("given {} {} ticks", number, ricOne);
  long midpoint = populateElasticsearch(rdogOne, number, indexForTicks, typeForTicks, null, TickJson.class).getDate();
  logger.info("it should return only {} {} ticks after the midpoint", expected, ricOne);
  List<TickJson> result = service.findTicksByRicAndDateGreaterThan(ricOne, midpoint);
  logger.info(" *** findTicksByTickerAndDateGreaterThan({}, {}): {}, expected: {}",
      ricOne, midpoint, result.size(), expected);
  assertThat(result).hasSize(expected);
}