I am new with EasyMock In unitTest.
I have a case like this
EasyMock.expect(serviceUnderTest.functionABC(param)).andReturn("123"); EasyMock.replay(contantsUnderTest);
This one only effect for the specific param, how can i impl like this: no matter what param we input, if the fuctionABC in serviceUnderTest was called, it will return 123?
Thank you very much
Aucun commentaire:
Enregistrer un commentaire