@Test
public void testSkipError() {

    Observable<Integer> src = Observable.from(1, 2, 42, 5, 3, 1);
    Observable.create(skipWhile(src, LESS_THAN_FIVE)).subscribe(w);
    InOrder inOrder = inOrder(w);
    inOrder.verify(w, never()).onNext(anyInt());
    inOrder.verify(w, never()).onCompleted();
    inOrder.verify(w, times(1)).onError(any(RuntimeException.class));
}