Forgot to ignore IDE configuration files.
The fake function will now create a mock object with the provided type.