I went through the Mockito documentation and searched Google but did not find anything.
Is there a difference between calling
verifyNoMoreInteractions(repositoryOneMock, repositoryTwoMock, repositoryThreeMock);
vs
verifyNoMoreInteractions(repositoryOneMock);
verifyNoMoreInteractions(repositoryTwoMock);
verifyNoMoreInteractions(repositoryThreeMock);
Arguably one would think that passing the mocked objects as a list means that we’re verifying there’s no collective interactions between these objects, vs if we checked each one individually to see if they had any other interactions with other objects outside of the specified three.
Is calling them separately better/best practice if it (maybe?) means more granularity?