doReturn
fun <M : ParametersSpec.Matchers, V : ParametersSpec.Values, A : BaseAnswer<V, Unit>, Stub : BaseMethodMock.Stub<M, V, Unit, A>> Stub.doReturn()
Sets the answer of a BaseMethodMock.Stub that returns Unit to simply return Unit.
Sets the answer of a BaseMethodMock.Stub that returns Unit to simply return Unit.