Class org.lightningj.lnd.wrapper.StreamObserverWrapperSpec

8

tests

0

failures

0

ignored

0.040s

duration

100%

successful

Tests

Test Duration Result
Verify that constructor initializes properly 0.007s 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.014s passed
Verify that if performValidation is true and message does not validate is ValidationException thrown instead. 0.003s passed
Verify that onCompleted calls wrappedObserver and performs logging 0.001s passed
Verify that onError logs error and converts StatusExceptions before forwarding them. 0.006s 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.006s passed