HKFELocalSymbolBuilder implements ILocalSymbolBuilder { @Override public String buildLocalSymbol(String symbol, int expirationMonth, int expirationYear) { return FuturesUtil.getFullFuturesSymbolWithOneDigitYear(symbol, expirationMonth, expirationYear); }  @Override String buildLocalSymbol(String symbol, int expirationMonth, int expirationYear);  }
@Test public void testBuildLocalSymbol() { HKFELocalSymbolBuilder builder = new HKFELocalSymbolBuilder(); assertEquals( "HSIH7", builder.buildLocalSymbol("HSI", 3, 2017) ); }