StreamObserverWrapperSpec

8

tests

0

failures

0

ignored

0.031s

duration

100%

successful

Tests

Test Duration Result
Verify that constructor initializes properly 0.001s passed
Verify that if internal error occurred during onNext() convertion is onError called instead. 0.002s passed
Verify that if performValidation is false is not validate() called on converted message 0.011s passed
Verify that if performValidation is true and message does not validate is ValidationException thrown instead. 0.002s passed
Verify that onCompleted calls wrappedObserver and performs logging 0s passed
Verify that onError logs error and converts StatusExceptions before forwarding them. 0.001s passed
Verify that onError logs error and forwards non StatusExceptions without being converted. 0.001s passed
Verify that when calling onNext is Api Object is converted, logged and the wrapped object forwarded. 0.013s passed