Lazily Create Mock Object Generator

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.