Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
*** Original commit *** Avoid adding spy to list in DataSourceContractTests After the fix in mockito/mockito#2331, the calls to equals on the fake transfer listener (due to its use in a list of listeners) are treated as interactions with it, meaning that the current verification of 'no more interactions' will fail. This change makes the transfer listener used for testing count bytes then delegate to another (mock) transfer listener that's passed in to avoid the problem. *** PiperOrigin-RevId: 393093785
- Loading branch information
1 parent
1d36083
commit c90d4fd
Showing
1 changed file
with
9 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters