### Question:
VmPauseMonitor { public void stop() { log.debug( "Stopping VM pause monitor" ); checkState( job != null, "VM pause monitor is not started" ); job.cancel( true ); job = null; } VmPauseMonitor( Duration measureInterval, Duration stallAlertThreshold, Log log, JobScheduler jobScheduler, Consumer<VmPauseInfo> listener ); void start(); void stop();  }### Answer:
@Test( expected = IllegalStateException.class ) public void testFailStopWithoutStart() { monitor.stop(); }