Disposables { @NonNull public static Disposable disposed() { return EmptyDisposable.INSTANCE; } private  Disposables(); @NonNull static Disposable fromRunnable(@NonNull Runnable run); @NonNull static Disposable fromAction(@NonNull Action run); @NonNull static Disposable fromFuture(@NonNull Future<?> future); @NonNull static Disposable fromFuture(@NonNull Future<?> future, boolean allowInterrupt); @NonNull static Disposable fromSubscription(@NonNull Subscription subscription); @NonNull static Disposable empty(); @NonNull static Disposable disposed();  }
@Test public void testUnsubscribed() { Disposable disposed = Disposables.disposed(); assertTrue(disposed.isDisposed()); }