Magento 2: PHPUnit Do Not Use “createMock” for Auto Generated Factory Classes

When you are needing to mock a auto-generated Factory class (or any generated class), do not use the PHPUnit_Framework_TestCase::createMock() function.  This function looks like this: