Skip to content

Commit

Permalink
Exchange explanations between verifyNoInteractions() and verifyNoMore…
Browse files Browse the repository at this point in the history
…Interactions (#476)
  • Loading branch information
tatsuyafujisaki authored Jan 19, 2023
1 parent 513056e commit 6d79682
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fun <T> 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].
*/
Expand All @@ -83,7 +83,7 @@ fun <T> 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].
*/
Expand Down

0 comments on commit 6d79682

Please sign in to comment.