assertEvent

Assert that this TestEventSink as received exactly one UiEvent and that it equals event.

Return

this

Parameters

event

the expected UiEvent


Assert that this TestEventSink has received exactly one UiEvent and that running predicate with that event returns true.

Return

this

Parameters

predicate

the function used to determine equality with the received event