def METHOD_NAME(self, get_service_config_value_mock):
    """Test if mconfig is used if control_proxy.yml is empty.
    """
    get_service_config_value_mock.side_effect = ['', 0.5, ["Excluded"]]
    sentry_mconfig = mconfigs_pb2.SharedSentryConfig()
    sentry_mconfig.dsn_python = 'https://test.me'
    sentry_mconfig.sample_rate = 1
    sentry_mconfig.exclusion_patterns.append("another error")
    self.assertEqual(
        SharedSentryConfig('https://test.me', 1, ["another error"]),
        _get_shared_sentry_config(sentry_mconfig),
    )