Removing mocking of a the reflection class