@Test
public void customOnErrorShouldReportCustomOnError() {

    LambdaObserver<Integer> o = new LambdaObserver<Integer>(Functions.<Integer>emptyConsumer(),
            Functions.<Throwable>emptyConsumer(),
            Functions.EMPTY_ACTION,
            Functions.<Disposable>emptyConsumer());
    assertTrue(o.hasCustomOnError());
}