removing deprecated easymock usages