anyString() v/s anyString() in Mocking frameworks
So I was trying out mocking frameworks for the first time a few days ago, and there’s an interesting observation: even though EasyMock, PowerMock, and Mockito and said to be brothers-in-arms, there are a few nuances to take care of. One of them is the following.
There are convenience methods (called matchers) provided by both Mockito and EasyMock to define a message signature that can accept anyv…
View On WordPress









