@Test public void dispose() {

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