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

Lazily Create Mock Object Generator #1165

Merged

Conversation

chrisguitarguy
Copy link
Contributor

Fixes #1164

Instead of setting up the mock object generator in TestCase's
constructor, it's created whenever a call to getMockObjectGenerator is
made.

I wasn't sure where to add tests for this, and it doesn't seem like getMock or its siblings are covered in the test suite as it is now.

Fixes sebastianbergmann#1164

Instead of setting up the mock object generator in TestCase's
constructor, it's created whenever a call to `getMockObjectGenerator` is
made.
sebastianbergmann added a commit that referenced this pull request Mar 7, 2014
Lazily Create Mock Object Generator
@sebastianbergmann sebastianbergmann merged commit 3e3b61d into sebastianbergmann:master Mar 7, 2014
@chrisguitarguy chrisguitarguy deleted the lazy_mock_gen branch March 16, 2014 17:35
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.

Fatal error when extenting TestCase without calling parent constructor
2 participants