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

Don't extract getters of objects #732

Merged
merged 2 commits into from
May 9, 2017

Conversation

robertbasic
Copy link
Collaborator

While extracting getters for objects is a nice idea in theory,
in practice the whole idea of calling random get* and is* methods
on objects can backfire, because we can actually hide, or even worse,
accidentally cause calling methods that shouldn't be called in the
first place.

Fixes #619

While extracting getters for objects is a nice idea in theory,
in practice the whole idea of calling random get* and is* methods
on objects can backfire, because we can actually hide, or even worse,
accidentally cause calling methods that shouldn't be called in the
first place.

Fixes mockery#619
@davedevelopment davedevelopment merged commit 230659a into mockery:master May 9, 2017
@coveralls
Copy link

coveralls commented May 10, 2017

Coverage Status

Coverage decreased (-0.9%) to 76.974% when pulling 8addb2b on robertbasic:fix/issue619 into ceb487b on mockery:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants