ClassMock::newInstance fails if original constructor calls protected function

cc @dlondero