Answer.DefaultImpls| Constructor and Description |
|---|
FunctionAnswer(kotlin.jvm.functions.Function1<? super io.mockk.Call,? extends T> answerFunc)
Delegates reply to the lambda function
|
| Modifier and Type | Method and Description |
|---|---|
T |
answer(Call call) |
kotlin.jvm.functions.Function1<io.mockk.Call,T> |
component1() |
FunctionAnswer<T> |
copy(kotlin.jvm.functions.Function1<? super io.mockk.Call,? extends T> answerFunc)
Delegates reply to the lambda function
|
boolean |
equals(java.lang.Object p) |
kotlin.jvm.functions.Function1<io.mockk.Call,T> |
getAnswerFunc() |
int |
hashCode() |
java.lang.String |
toString() |
public FunctionAnswer(kotlin.jvm.functions.Function1<? super io.mockk.Call,? extends T> answerFunc)
Delegates reply to the lambda function
public T answer(Call call)
public java.lang.String toString()
public kotlin.jvm.functions.Function1<io.mockk.Call,T> getAnswerFunc()
public kotlin.jvm.functions.Function1<io.mockk.Call,T> component1()
public FunctionAnswer<T> copy(kotlin.jvm.functions.Function1<? super io.mockk.Call,? extends T> answerFunc)
Delegates reply to the lambda function
public int hashCode()
public boolean equals(java.lang.Object p)