'L{twisted.protocols.dict} is deprecated since Twisted NEXT.'

def test_dictDeprecation(self):

    from twisted.protocols import dict
    dict
    warningsShown = self.flushWarnings([self.test_dictDeprecation])
    self.assertEqual(1, len(warningsShown))
    self.assertEqual('twisted.protocols.dict    was    deprecated    in    Twisted    NEXT:    There    is    no    replacement    for    this    module.', warningsShown[0]['message'])
