void () { DefaultLogger.disableStderrDumping(getTestRootDisposable()); ProgressIndicator indicator = new ProgressIndicatorBase(false); indicator.start(); assertThrows(Exception.class, () -> indicator.start()); indicator.cancel(); indicator.stop(); assertThrows(Exception.class, () -> indicator.start()); assertThrows(Exception.class, () -> new ProgressIndicatorBase().stop()); }