Ambiguity between EasyMock and PowerMock solved.