Class org.lightningj.paywall.paymenthandler.PaymentEventBusSpec

11

tests

0

failures

0

ignored

0.014s

duration

100%

successful

Tests

Test Duration Result
Verify that listeners are notified for matching events and that listeners that are marked for unregistration is removed. 0.002s passed
Verify that matches returns false if listener matches any event type but preImageHash doesn't equal. 0s passed
Verify that matches returns false if listener matches any preImageHash but event type doesn't equal. 0s passed
Verify that matches returns false if listener matches specific event type which doesn't equal but preImageHash does. 0s passed
Verify that matches returns false if listener matches specific event type which doesn't equal but preImageHash does. 0.001s passed
Verify that matches returns false if listener matches specific preImageHash which doesn't equal but event type does. 0s passed
Verify that matches returns true if both preImageHash and type is the same in listener and event. 0.001s passed
Verify that matches returns true if listener matches any event type and specific preImageHash. 0.001s passed
Verify that matches returns true if listener matches any preImageHash and any event type. 0s passed
Verify that matches returns true if listener matches any preImageHash and specific event type. 0s passed
Verify that registerListener() adds listener to list and unregisterListener() removes it. 0.009s passed