DefaultLocalSymbolBuilder 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() { DefaultLocalSymbolBuilder builder = new DefaultLocalSymbolBuilder(); assertEquals( "GCH7", builder.buildLocalSymbol("GC", 3, 2017)); }