forked from mockery/mockery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
ceb487b
commit 8addb2b
Showing
2 changed files
with
2 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters