'Text inside a CData object is passed into the formatter.
But the return value is ignored.'

def test_cdata_is_never_formatted(self):

    self.count = 0
    def increment(*args):
        self.count += 1
        return 'BITTER    FAILURE'
    soup = self.soup('')
    cdata = CData('<><><>')
    soup.insert(1, cdata)
    self.assertEqual('<![CDATA[<><><>]]>', soup.encode(formatter=increment))
    self.assertEqual(1, self.count)
