Builder

class Builder(setupMocks: Boolean = true) : BaseAlertPresenter.Builder

Mock implementation of BaseAlertPresenter.Builder

Parameters

setupMocks

if true this automatically creates a MockAlertPresenter when create is called

Constructors

Link copied to clipboard
constructor(setupMocks: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
val createMock: MethodMock<PairParameters.Matchers<alert: Alert, coroutineScope: CoroutineScope>, PairParameters.MatchersOrCaptor<alert: Alert, coroutineScope: CoroutineScope>, PairParameters.Values<alert: Alert, coroutineScope: CoroutineScope>, PairParameters<alert: Alert, coroutineScope: CoroutineScope>, MockAlertPresenter>

Functions

Link copied to clipboard
open override fun create(alert: Alert, coroutineScope: CoroutineScope): BaseAlertPresenter