def METHOD_NAME(self):
    self.project_config.config["project"]["package"]["namespace"] = "ns"
    self.task_config.config["options"] = {
        "object": "%%%NAMESPACE%%%Test__c",
        "field": "Field__c",
        "value": "x",
        "managed": True,
        "namespaced": True,
    }
    task, url = self._get_url_and_task()
    task.object_name = "%%%NAMESPACE%%%Test__c"
    task.field_name = "%%%NAMESPACE%%%Field__c"
    task._apply_namespace()
    assert task.object_name == "ns__Test__c"
    assert task.field_name == "ns__Field__c"