on

Generates a stub for a BaseMethodMock without and parameters

Return

The Stub associated with the BaseMethodMock


Generates a stub for a BaseMethodMock with one parameter

Return

The Stub associated with the BaseMethodMock

Parameters

value

The ParameterMatcher for the parameter of the method.


Generates a stub for a BaseMethodMock with two parameters

Return

The Stub associated with the BaseMethodMock

Parameters

first

The ParameterMatcher for the first parameter of the method.

second

The ParameterMatcher for the second parameter of the method.


Generates a stub for a BaseMethodMock with three parameters

Return

The Stub associated with the BaseMethodMock

Parameters

first

The ParameterMatcher for the first parameter of the method.

second

The ParameterMatcher for the second parameter of the method.

third

The ParameterMatcher for the third parameter of the method.


Generates a stub for a BaseMethodMock with four parameters

Return

The Stub associated with the BaseMethodMock

Parameters

first

The ParameterMatcher for the first parameter of the method.

second

The ParameterMatcher for the second parameter of the method.

third

The ParameterMatcher for the third parameter of the method.

fourth

The ParameterMatcher for the fourth parameter of the method.


fun <T0, T1, T2, T3, T4, Result, Answer : BaseAnswer<QuintupleParameters.Values<T0, T1, T2, T3, T4>, Result>, Stub : BaseMethodMock.Stub<QuintupleParameters.Matchers<T0, T1, T2, T3, T4>, QuintupleParameters.Values<T0, T1, T2, T3, T4>, Result, Answer>> BaseMethodMock<QuintupleParameters.Matchers<T0, T1, T2, T3, T4>, QuintupleParameters.MatchersOrCaptor<T0, T1, T2, T3, T4>, QuintupleParameters.Values<T0, T1, T2, T3, T4>, QuintupleParameters<T0, T1, T2, T3, T4>, Result, Answer, Stub>.on(first: ParameterMatcher<T0> = ParameterMatcher.any(), second: ParameterMatcher<T1> = ParameterMatcher.any(), third: ParameterMatcher<T2> = ParameterMatcher.any(), fourth: ParameterMatcher<T3> = ParameterMatcher.any(), fifth: ParameterMatcher<T4> = ParameterMatcher.any()): Stub

Generates a stub for a BaseMethodMock with five parameters

Return

The Stub associated with the BaseMethodMock

Parameters

first

The ParameterMatcher for the first parameter of the method.

second

The ParameterMatcher for the second parameter of the method.

third

The ParameterMatcher for the third parameter of the method.

fourth

The ParameterMatcher for the fourth parameter of the method.

fifth

The ParameterMatcher for the fifth parameter of the method.