MockEventHandler

interface MockEventHandler<E, R>

A mock handler that is used to handle events in a unit test

Parameters

<E>

The type of the event to handle

<R>

The type of the return value of the event

Functions

Link copied to clipboard
abstract fun handleEvent(event: E): R
Called when the event is triggered during the unit test