replacing easymock with mockito to keep one mock framework