public static void setFillInOutsideScopeExceptionStacktraces(boolean fillInStacktrace) {
    if (lockdown) {
      throw new IllegalStateException("Plugins can't be changed anymore");
    }
    fillInOutsideScopeExceptionStacktraces = fillInStacktrace;
  }
@Test
  public void noStacktraceFill_shouldHaveNoStacktrace() {
    AutoDisposePlugins.setFillInOutsideScopeExceptionStacktraces(false);

    OutsideScopeException started = new OutsideScopeException("Lifecycle not started");
    assertThat(started.getStackTrace()).isEmpty();
  }