IBQuoteEngine extends AbstractIBQuoteEngine { public boolean started() { return ibSocket.isConnected(); } IBQuoteEngine(IBSocket ibSocket); @Override boolean isConnected(); void tickSize(int tickerId, int field, int size); void tickPrice(int tickerId, int field, double price, int canAutoExecute); void updateMktDepth(int tickerId, int position, int operation, int side, double price, int size); void updateMktDepth2(int tickerId, int position, String marketMaker, int operation, int side, double price, int size); void error(Exception e); void error(String str); void error(int id, int errorCode, String errorMsg); @Override void subscribeMarketDepth(Ticker ticker, Level2QuoteListener listener); @Override void unsubscribeMarketDepth(Ticker ticker, Level2QuoteListener listener); @Override synchronized void subscribeLevel1(Ticker ticker, Level1QuoteListener listener); @Override void unsubscribeLevel1(Ticker ticker, Level1QuoteListener listener); Date getServerTime(); void startEngine(Properties props); void stopEngine(); void startEngine(); boolean started(); IBSocket getIbSocket(); String getName(); void setName(String name); @Override void fireLevel1Quote(ILevel1Quote quote); @Override void useDelayedData(boolean useDelayed);  }
@Test @Ignore public void testStarted() { final EClientSocket mockSocketInterface = mockery.mock(EClientSocket.class); final IBConnectionInterface mockConnectionInterface = mockery.mock(IBConnectionInterface.class); fail(); }