### Question:
MarketMaker implements Runnable { @Override public void run() { do { publish(); sleep(); } while (running); } MarketMaker(String topicName, String stockCode, String description); void publishPrices(); @Override void run(); void stop(); static void main(String[] args);  }### Answer:
@Test public void testRun() { instance.stop(); instance.run(); verify(iTopic).publish((StockPrice) anyObject()); }