Fallback to regexp if class doesn't exist
Remove redundant version check and assignment
Merge pull request #241 from davedevelopment/allow-mocking-where-typehint-class-does-not-exist

Allow mocking a class where that has a method with an unknown class as a typehint