def METHOD_NAME(self):
    rdf_xml = serialize(
        self.source_graph,
        self.serializer,
        extra_args={
            "base": "http://example.org/",
            "xml_base": "http://example.org/",
        },
    )
    assert 'xml:base="http://example.org/"'.encode("latin-1") in rdf_xml
    assert '<Test rdf:about="data/a">'.encode("latin-1") in rdf_xml
    assert '<rdf:Description rdf:about="data/b">'.encode("latin-1") in rdf_xml
    assert (
        '<value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</value>'.encode(
            "latin-1"
        )
        in rdf_xml
    )
    assert (
        '<BNode rdf:nodeID="'.encode("latin-1") in rdf_xml
    ), "expected one identified bnode in serialized graph"