We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jmockit中mock方法中的更新操作时,方法里的对象时new出来的,我用Expectations来Mock类及更新操作,运行失败。怀疑是mock的对象和方法中new出的对象比较返回了false,请问有谁mock过方法里调用的对象的equals方法?
The text was updated successfully, but these errors were encountered:
java.lang.Object是不可以Mock的。
Sorry, something went wrong.
No branches or pull requests
jmockit中mock方法中的更新操作时,方法里的对象时new出来的,我用Expectations来Mock类及更新操作,运行失败。怀疑是mock的对象和方法中new出的对象比较返回了false,请问有谁mock过方法里调用的对象的equals方法?
The text was updated successfully, but these errors were encountered: