@Test
public void testWhileDoConditionThrows() {

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