mockito-kotlin / com.nhaarman.mockitokotlin2 / doAnswer

doAnswer

fun <T> doAnswer(answer: (InvocationOnMock) -> T?): Stubber