PushGatewayPeriodical extends Periodical { @Override public int getInitialDelaySeconds() { return 0; } @Inject  PushGatewayPeriodical(MetricsPrometheusReporterConfiguration configuration,
                                 CollectorRegistry collectorRegistry,
                                 PushGateway pushGateway); @Override void doRun(); @Override boolean runsForever(); @Override boolean stopOnGracefulShutdown(); @Override boolean masterOnly(); @Override boolean startOnThisNode(); @Override boolean isDaemon(); @Override int getInitialDelaySeconds(); @Override int getPeriodSeconds();  }
@Test public void getInitialDelaySecondsIsZero() throws Exception { assertEquals(0, periodical.getInitialDelaySeconds()); }