def METHOD_NAME():
    with mock.patch.object(
        PersistentResourceServiceClient,
        "create_persistent_resource",
    ) as METHOD_NAME:
        create_persistent_resource_lro_mock = mock.Mock(ga_operation.Operation)
        create_persistent_resource_lro_mock.result.return_value = (
            _TEST_REQUEST_RUNNING_DEFAULT
        )
        METHOD_NAME.return_value = (
            create_persistent_resource_lro_mock
        )
        yield METHOD_NAME