SelfStartingMonitoringView implements Lifecycle { @Override public boolean isRunning() { return dynamicMonitoringView.isRunning(); } SelfStartingMonitoringView(DynamicMonitoringView dynamicMonitoringView); @Deprecated  SelfStartingMonitoringView(MonitoringView monitoringView); @Deprecated  SelfStartingMonitoringView(MonitoringView monitoringView, final long quietPeriodInMillis); @Deprecated  SelfStartingMonitoringView(MonitorableRegistry registry, MonitoringView monitoringView); @Deprecated  SelfStartingMonitoringView(MonitorableRegistry registry, MonitoringView monitoringView, final long quietPeriodInMillis); @Override void start(); @Override void stop(); @Override boolean isRunning(); static final long defaultQuietPeriod();  }
@Test public void shouldInvokeDelegateIsRunning() throws Exception { selfStartingMonitoringView.isRunning(); verify(dynamicMonitoringView).isRunning(); }