def METHOD_NAME(self, value):
    settings_manager = SettingsManager()
    set_is_proxy_enabled_mock = MagicMock()
    settings_manager.set_is_proxy_enabled = set_is_proxy_enabled_mock
    settings_proxy_enabled_resource = SettingsProxyEnabled(settings_manager)
    self.api.add_route(self.api_url, settings_proxy_enabled_resource)
    request = {'enabled': value}
    self.simulate_request(self.api_url, method="PUT", body=json.dumps(request))
    self.assertEqual(self.srmock.status, falcon.HTTP_NO_CONTENT)
    set_is_proxy_enabled_mock.assert_called_once_with(value)