moved from EasyMock to Mockito