@Test
public void testIfThenConditonThrows() {

    Observable<Integer> source1 = Observable.from(1, 2, 3);
    Observable<Integer> result = Statement.ifThen(conditionError, source1);
    observe(result, 1, 2, 3);
    observeError(result, RuntimeException.class);
    observe(result, 1, 2, 3);
    observeError(result, RuntimeException.class);
}