def METHOD_NAME(self):
    task = create_task(LoadCustomSettings, {"settings_path": "test.yml"})
    task.sf = Mock()
    task.sf.query.side_effect = [
        {"totalSize": 1, "records": [{"Id": "001000000000000"}]},
        {"totalSize": 0},
    ]
    task.settings = {
        "Test__c": [
            {
                "location": {"user": {"name": "test@example.com"}},
                "data": {"Field__c": "Test"},
            }
        ]
    }
    task._load_settings()
    task.sf.Test__c.create.assert_called_once_with(
        {"Field__c": "Test", "SetupOwnerId": "001000000000000"}
    )
    task.sf.query.assert_has_calls(
        [
            call("SELECT Id FROM User WHERE Username = 'test@example.com'"),
            call("SELECT Id FROM Test__c WHERE SetupOwnerId = '001000000000000'"),
        ]
    )