begin refactoring effort to allow for generalizing easyMock into mock