code: private static boolean isEasyMocked(Object mock) {
          return Enhancer.isEnhanced(mock.getClass()) || Proxy.isProxyClass(mock.getClass());
      }
docs: Test if a object is a mock created by EasyMock or not.