mockito-kotlin / com.nhaarman.mockitokotlin2 / only

only

fun only(): VerificationMode

Allows checking if given method was the only one invoked.