@Test public void disposeAlreadyDisposed() {

  CompositeDisposable disposable = new CompositeDisposable();
  disposable.dispose();
  assertThat(disposable.isDisposed(), is(true));
  Rx.dispose(disposable);
  assertThat(disposable.isDisposed(), is(true));
}