Replace EasyMock with Mockito

Issue: SPR-10126