def METHOD_NAME(self, generated_rows):
    yaml_data = """
        - object: parent
          nickname: TheParent
          fields:
            child:
                - object: child
                  nickname: TheChild
                  fields:
                    parent:
                        reference:
                            TheParent
        """
    continuation_file = StringIO()
    generate(StringIO(yaml_data), generate_continuation_file=continuation_file)
    continuation_yaml = continuation_file.getvalue()
    generate(
        StringIO(yaml_data),
        continuation_file=StringIO(continuation_yaml),
    )