@Test
public void fromSubscription() {

    Subscription s = mock(Subscription.class);
    Disposables.fromSubscription(s).dispose();
    verify(s).cancel();
    verify(s, never()).request(anyInt());
}