Skip to content
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

defaultAnswer(CALLS_REAL_METHODS) for defaultMock #205

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

markusschaefer
Copy link
Contributor

With this PR the defaultAnswer for the defaultMock Spies ist changed to CALLS_REAL_METHOD.
This is the same behaviour as when your create a spy with Mockito.spy(new SimpleLogger(name)).

See issue #204

@slawekjaranowski slawekjaranowski self-assigned this Nov 4, 2024
Copy link

sonarcloud bot commented Nov 7, 2024

@slawekjaranowski slawekjaranowski added the enhancement New feature or request. label Nov 8, 2024
@slawekjaranowski slawekjaranowski merged commit 81cd613 into s4u:master Nov 8, 2024
17 checks passed
@slawekjaranowski
Copy link
Member

@markusschaefer - thanks, sorry for delay, I missed it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request.
Development

Successfully merging this pull request may close these issues.

DefaultMocks of SimpleLogger uses default answer RETURNS_DEFAULTS
3 participants