This method decides whether to filter the event (true
) or not
(false
).
This method decides whether to filter the event (true
) or not
(false
).
Assert that this filter has matched as often as requested by its
occurrences
parameter specifies.
internal implementation helper, no guaranteed API
internal implementation helper, no guaranteed API
Apply this filter while executing the given code block.
Apply this filter while executing the given code block. Care is taken to remove the filter when the block is finished or aborted.
Facilities for selectively filtering out expected events from logging so that you can keep your test run’s console output clean and do not miss real error messages.
See the companion object for convenient factory methods.
If the
occurrences
is set to Int.MaxValue, no tracking is done.