@Test
public void testFindTicksByRic() throws Exception {

  int numberOne = 5;
  int numberTwo = 7;
  logger.info("given {} {} ticks and {} {} ticks",
      numberOne, ricOne, numberTwo, ricTwo);
  populateElasticsearch(rdogOne, numberOne, indexForTicks, typeForTicks, null, TickJson.class);
  populateElasticsearch(rdogTwo, numberTwo, indexForTicks, typeForTicks, null, TickJson.class);
  logger.info("it should return {} {} ticks, {} {} ticks and 0 {} ticks",
      numberOne, ricOne, numberTwo, ricTwo, ricThree);
  List<TickJson> resultOne = service.findTicksByRic(ricOne);
  List<TickJson> resultTwo = service.findTicksByRic(ricTwo);
  List<TickJson> resultThree = service.findTicksByRic(ricThree);
  logger.info(" *** findTicksByTicker({}): {}, expected: {}",
      ricOne, resultOne.size(), numberOne);
  logger.info(" *** findTicksByTicker({}): {}, expected: {}",
      ricTwo, resultTwo.size(), numberTwo);
  logger.info(" *** findTicksByTicker({}): {}, expected: {}",
      ricThree, resultThree.size(), 0);
  assertThat(resultOne).hasSize(numberOne);
  assertThat(resultTwo).hasSize(numberTwo);
  assertThat(resultThree).hasSize(0);
}