def test_result_fragments(self):
        rdfXml = serialize(self.sourceGraph, self.serializer)
        #print "--------"
        #print rdfXml
        #print "--------"
        assert b('<rdf:Description rdf:about="http://example.org/data/a">') in rdfXml
        assert b('<rdf:type rdf:resource="http://example.org/model/test#Test"/>') in rdfXml
        assert b('<rdf:Description rdf:about="http://example.org/data/b">') in rdfXml
        assert b('<name xml:lang="en">Bee</name>') in rdfXml
        assert b('<value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</value>') in rdfXml
        assert b('<rdf:Description rdf:nodeID="') in rdfXml, "expected one identified bnode in serialized graph"
dataset/ETHPy150Open RDFLib/rdflib/test/test_serializexml.py/TestXMLSerializer.test_result_fragments/original