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