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
I saw DoAnswerStyleStubbing class code. I thought that below is correct.
boolean isSet() { return !answers.isEmpty(); }
After execute setAnswers function with answers, instance will return isSet is false. I think it looks strange.
setAnswers
isSet is false
And InvocationContainerImpl also need to be changed as follow.
public boolean hasAnswersForStubbing() { return doAnswerStyleStubbing.isSet(); }
The text was updated successfully, but these errors were encountered:
@ByoungJoonIm Feel free to send us a PR that fixes this.
Sorry, something went wrong.
Fixes mockito#2955
8eb2572
Hi I made a pr that fixes this, thank you
Edit DoAnswerStyleStubbing.isSet() to return true if there are answers (
2280cac
#3020) Fixes #2955 --------- Co-authored-by: Kei <keiwork111@gmail.com>
Successfully merging a pull request may close this issue.
I saw DoAnswerStyleStubbing class code.
I thought that below is correct.
After execute
setAnswers
function with answers, instance will returnisSet is false
.I think it looks strange.
And InvocationContainerImpl also need to be changed as follow.
The text was updated successfully, but these errors were encountered: