### Question:
InfluxDbPublisher implements Runnable { @Override public void run() { LOGGER.info("InfluxDbPublisher executed..."); client.postMetrics(); } InfluxDbPublisher(InfluxDbClient client); @Override void run();  }### Answer:
@Test public void runMethodIsCalled() { influxDbPublisher.run(); verify(influxDbClient).postMetrics(); }