assertEvents

Assert that this TestEventSink received only the specified events in the specified order.

Return

this

Parameters

events

the list of expected events that is compared to the received events


Assert that predicate returns true for each event received by this TestEventSink.

Return

this

Parameters

predicate

the function used to determine equality with each received event