From 6d79682d22da4ddfa09b91380d22917b94bca673 Mon Sep 17 00:00:00 2001 From: Tatsuya Fujisaki <1838962+tatsuyafujisaki@users.noreply.github.com> Date: Fri, 20 Jan 2023 04:13:48 +0900 Subject: [PATCH] Exchange explanations between verifyNoInteractions() and verifyNoMoreInteractions (#476) --- .../src/main/kotlin/org/mockito/kotlin/Verification.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/Verification.kt b/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/Verification.kt index 04a477c8..543632e5 100644 --- a/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/Verification.kt +++ b/mockito-kotlin/src/main/kotlin/org/mockito/kotlin/Verification.kt @@ -74,7 +74,7 @@ fun verify(mock: T, mode: VerificationMode): T { } /** - * Checks if any of given mocks has any unverified interaction. + * Verifies that no interactions happened on given mocks beyond the previously verified interactions. * * Alias for [Mockito.verifyNoMoreInteractions]. */ @@ -83,7 +83,7 @@ fun verifyNoMoreInteractions(vararg mocks: T) { } /** - * Verifies that no interactions happened on given mocks beyond the previously verified interactions. + * Checks if any of given mocks has any unverified interaction. * * Alias for [Mockito.verifyNoInteractions]. */