def METHOD_NAME():
    graph = Graph().parse(os.path.join(os.path.dirname(__file__), "data/file_to_test_rdf_parser.rdf.xml"))
    doc_namespace = "https://some.namespace"
    external_doc_ref_node = graph.value(
        subject=URIRef(f"{doc_namespace}#{DOCUMENT_SPDX_ID}"), predicate=SPDX_NAMESPACE.externalDocumentRef
    )
    assert isinstance(external_doc_ref_node, URIRef)
    external_document_ref = parse_external_document_refs(external_doc_ref_node, graph, doc_namespace)
    assert external_document_ref.document_ref_id == "DocumentRef-external"
    assert external_document_ref.checksum == Checksum(
        ChecksumAlgorithm.SHA1, "71c4025dd9897b364f3ebbb42c484ff43d00791c"
    )
    assert external_document_ref.document_uri == "https://namespace.com"