def METHOD_NAME(authorize_net_plugin):
    for config in authorize_net_plugin.configuration:
        if config["name"] == "use_sandbox":
            config["value"] = False
    with pytest.raises(ValidationError):
        AuthorizeNetGatewayPlugin.validate_plugin_configuration(authorize_net_plugin)