'Test that CDATA is correctly flattened and escaped.'

def test_serializeCDATA(self):

    return gatherResults([self.assertFlattensTo(CDATA('foo    bar'), '<![CDATA[foo    bar]]>'), self.assertFlattensTo(CDATA('foo    ]]>    bar'), '<![CDATA[foo    ]]]]><![CDATA[>    bar]]>')])
