@Test
public void testFindIndicatorsByTickerAndDateGreaterThan() throws Exception {

  int number = 7;
  int expected = 4;
  logger.info("given {} {} indicators", number, ricOne);
  long midpoint = populateElasticsearch(rdogOne, number, indexForIndicators, typeForIndicators, null,
      IndicatorJson.class).getDate();
  logger.info("it should return only {} {} indicators after the midpoint", expected, ricOne);
  List<IndicatorJson> result = service.findIndicatorsByRicAndDateGreaterThan(ricOne, midpoint);
  logger.info(" *** findIndicatorsByTickerAndDateGreaterThan({}, {}): {}, expected: {}",
      ricOne, midpoint, result.size(), expected);
  assertThat(result).hasSize(expected);
}