@Test
public void testWithEqualityError() {

    Observable<Boolean> observable = Observable.sequenceEqual(
            Observable.just("one"), Observable.just("one"),
            new Func2<String, String, Boolean>() {
                @Override
                public Boolean call(String t1, String t2) {
                    throw new TestException();
                }
            });
    verifyError(observable);
}