def METHOD_NAME():
    document = document_fixture(
        creation_info=creation_info_fixture(
            creators=[actor_fixture(name="creatorName"), actor_fixture(name="creatorName")],
            external_document_refs=[external_document_ref_fixture(), external_document_ref_fixture()],
        ),
        packages=[
            package_fixture(
                checksums=[checksum_fixture(), checksum_fixture()],
                license_info_from_files=[SpdxNoAssertion(), SpdxNoAssertion()],
                external_references=[external_package_ref_fixture(), external_package_ref_fixture()],
                attribution_texts=["duplicated text", "duplicated text"],
            )
        ],
        files=[
            file_fixture(
                checksums=[checksum_fixture(), checksum_fixture()],
                file_types=[FileType.TEXT, FileType.TEXT],
                license_info_in_file=[SpdxNoAssertion(), SpdxNoAssertion()],
                contributors=["duplicated contributor", "duplicated contributor"],
                attribution_texts=["duplicated text", "duplicated text"],
            )
        ],
        snippets=[
            snippet_fixture(
                license_info_in_snippet=[SpdxNone(), SpdxNone()],
                attribution_texts=["duplicated text", "duplicated text"],
            )
        ],
        extracted_licensing_info=[
            extracted_licensing_info_fixture(cross_references=["duplicated reference", "duplicated reference"])
        ],
    )
    expected_document = document_fixture(
        creation_info=creation_info_fixture(
            creators=[actor_fixture(name="creatorName")], external_document_refs=[external_document_ref_fixture()]
        ),
        packages=[
            package_fixture(
                checksums=[checksum_fixture()],
                license_info_from_files=[SpdxNoAssertion()],
                external_references=[external_package_ref_fixture()],
                attribution_texts=["duplicated text"],
            )
        ],
        files=[
            file_fixture(
                checksums=[checksum_fixture()],
                file_types=[FileType.TEXT],
                license_info_in_file=[SpdxNoAssertion()],
                contributors=["duplicated contributor"],
                attribution_texts=["duplicated text"],
            )
        ],
        snippets=[snippet_fixture(license_info_in_snippet=[SpdxNone()], attribution_texts=["duplicated text"])],
        extracted_licensing_info=[extracted_licensing_info_fixture(cross_references=["duplicated reference"])],
    )
    document_without_duplicates = create_document_without_duplicates(document)
    assert document_without_duplicates == expected_document