GenericTicker extends Ticker { @Override public InstrumentType getInstrumentType() { return InstrumentType.NONE; } GenericTicker(String symbol); @Override InstrumentType getInstrumentType(); @Override String toString();  }
@Test public void testGetInstrument() { assertEquals( InstrumentType.NONE, new GenericTicker("ABC").getInstrumentType() ); }