def testEmbedDocumentInItself(self):
        doc = dougrain.Document.empty("http://localhost")
        doc.add_link('self', "/1")
        doc.set_curie('rel', "/rels/{rel}")
        doc.set_property('name', "me")
        doc.add_link('rel:other', "/other")
        doc.add_link('next', "/2")

        doc.embed('rel:me', doc)

        self.assertFalse(doc.embedded in 'rel:me')


#
dataset/ETHPy150Open wharris/dougrain/test/test_document.py/EdgeCasesTests.testEmbedDocumentInItself/swapped operands of `in`