def METHOD_NAME(self, mock_handler_cls):
    session = mock.Mock(spec=Session)
    session.get_scoped_config.return_value = {
        'cli_follow_urlparam': 'true'}
    register_uri_param_handler(session)
    cases = mock_handler_cls.call_args[0][0]
    self.assertIn('file://', cases)
    self.assertIn('fileb://', cases)
    self.assertIn('http://', cases)
    self.assertIn('http://', cases)