@Test
public void testClearAndLoad() throws Exception {

    Observable<Integer> observable = Observable.just(1, 2);
    TestSubscriber<Integer> testSubscriber1 = new TestSubscriber<>();
    TestSubscriber<Integer> testSubscriber2 = new TestSubscriber<>();
    observable
            .compose(mLifecycleHandler.<Integer>load(8))
            .subscribe(testSubscriber1);
    testSubscriber1.assertValues(1, 2);
    testSubscriber1.assertCompleted();
    mLifecycleHandler.clear(8);
    observable
            .compose(mLifecycleHandler.<Integer>load(8))
            .subscribe(testSubscriber2);
    testSubscriber2.assertValues(1, 2);
    testSubscriber2.assertCompleted();
}