@Test
public void testTooSmallInvertedHammerCandlestick() throws Exception {

  List<PriceTick> priceTicks = createPriceTicks(
      INSTRUMENT,
      DATE_RANGE,
      9965.8,
      9969.0,
      9963.8,
      9965.0);
  CandlestickHammerPredicate candlestickHammerPredicate = createCandlestickHammerPredicate();
  for (PriceTick priceTick : priceTicks) {
    if (candlestickHammerPredicate.apply(priceTick)) {
      fail("Predicate triggered.");
    }
  }
}