SelfStartingMonitoringView implements Lifecycle { @Override public void start() { dynamicMonitoringView.start(); } 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 shouldInvokeDelegateStart() throws Exception { selfStartingMonitoringView.start(); verify(dynamicMonitoringView).start(); }