-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Mockito issue #3490 #3506
New issue
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
Mockito issue #3490 #3506
Conversation
…nContainerImpl by adding null check for findAnswerFor` method
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3506 +/- ##
=========================================
Coverage 85.63% 85.64%
- Complexity 2953 2954 +1
=========================================
Files 341 341
Lines 8969 8972 +3
Branches 1115 1116 +1
=========================================
+ Hits 7681 7684 +3
Misses 1000 1000
Partials 288 288 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please run ./gradlew spotlessApply
mockito-core/src/main/java/org/mockito/internal/stubbing/InvocationContainerImpl.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good, expect the test expectation which needs to be updated
mockito-core/src/test/java/org/mockito/internal/stubbing/InvocationContainerImplTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution!
Checklist
including project members to get a better picture of the change
commit is meaningful and help the people that will explore a change in 2 years
Fixes #<issue number>
in the description if relevantFixes #<issue number>
if relevant