MockAlertPresenter
Mock implementation of BaseAlertPresenter
Parameters
alert
The Alert to display
setupMocks
if true
this automatically sets up mocks to handle displaying this MockAlertPresenter
Types
Link copied to clipboard
Mock implementation of BaseAlertPresenter.Builder
Properties
Link copied to clipboard
val dismissMock: MethodMock<SingleParameters.Matchers<animated: Boolean>, SingleParameters.MatchersOrCaptor<animated: Boolean>, SingleParameters.Values<animated: Boolean>, SingleParameters<animated: Boolean>, Unit>
com.splendo.kaluga.test.base.mock.BaseMethodMock for the dismiss function
Link copied to clipboard
true
if the MockAlertPresenter is currently being presented
Link copied to clipboard
val showAsyncMock: MethodMock<PairParameters.Matchers<animated: Boolean, completion: () -> Unit>, PairParameters.MatchersOrCaptor<animated: Boolean, completion: () -> Unit>, PairParameters.Values<animated: Boolean, completion: () -> Unit>, PairParameters<animated: Boolean, completion: () -> Unit>, Unit>
com.splendo.kaluga.test.base.mock.BaseMethodMock for the showAsync function
Functions
Link copied to clipboard
Closes the MockAlertPresenter by handling an action
Link copied to clipboard