'Check the decoder\'s data and finish callbacks and make sure they are
None in order to help avoid references cycles.'

def _verifyCallbacksUnreferenced(self, decoder):

    self.assertIdentical(decoder.dataCallback, None)
    self.assertIdentical(decoder.finishCallback, None)
