def METHOD_NAME(gql_operation_factory):
    query = """
    subscription{
      event{
        ...on ProductUpdated{
          product{
            id
            name
          }
        }
      }
    }
    """
    result = {"data": "secret data"}
    sensitive_fields = {"Product": {"name"}}
    operation_result = gql_operation_factory(query, result=result)
    anonymize_gql_operation_response(operation_result, sensitive_fields)
    assert operation_result.result["data"] == MASK