'L{Text.isEqualToNode} returns C{True} if and only if passed a L{Text}
which represents the same data.'

def test_isEqualToNode(self):

    self.assertTrue(microdom.Text('foo', raw=True).isEqualToNode(microdom.Text('foo', raw=True)))
    self.assertFalse(microdom.Text('foo', raw=True).isEqualToNode(microdom.Text('foo', raw=False)))
    self.assertFalse(microdom.Text('foo', raw=True).isEqualToNode(microdom.Text('bar', raw=True)))
