Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upCookbook advises unnecessary complication #2794
Open
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The mock cookbook advises adding a backdoor to delegate on a mock's parent. But the parent can be called directly:
Demo: http://coliru.stacked-crooked.com/a/0ace6ada2bb9cf63