SimpleRequestHandler { public final void stop() { checkState(started, "container has already been stopped"); container.onShutdown(); started = false; }  final void init(@Nonnull Application application); final void init(@Nonnull Application application, @Nullable Object parentManager); final void init(@Nonnull JRestlessHandlerContainer<JRestlessContainerRequest> handlerContainer); final void start(); final void stop(); final ResponseT delegateRequest(@Nonnull RequestT request);  }
@Test public void stop_NotInitialized_ShouldThrowIse() { assertThrows(IllegalStateException.class, () -> new SimpleRequestHandlerImpl().stop()); }