Skip to content

Commit 6d79682

Browse files
Exchange explanations between verifyNoInteractions() and verifyNoMoreInteractions (#476)
1 parent 513056e commit 6d79682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mockito-kotlin/src/main/kotlin/org/mockito/kotlin/Verification.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ fun verify(mock: T, mode: VerificationMode): T {
7474
}
7575

7676
/**
77-
* Checks if any of given mocks has any unverified interaction.
77+
* Verifies that no interactions happened on given mocks beyond the previously verified interactions.
7878
*
7979
* Alias for [Mockito.verifyNoMoreInteractions].
8080
*/
@@ -83,7 +83,7 @@ fun verifyNoMoreInteractions(vararg mocks: T) {
8383
}
8484

8585
/**
86-
* Verifies that no interactions happened on given mocks beyond the previously verified interactions.
86+
* Checks if any of given mocks has any unverified interaction.
8787
*
8888
* Alias for [Mockito.verifyNoInteractions].
8989
*/

0 commit comments

Comments
 (0)