'L{twisted.protocols.mice} is deprecated since Twisted 16.0.'

def test_MiceDeprecation(self):

    reflect.namedAny('twisted.protocols.mice')
    warningsShown = self.flushWarnings()
    self.assertEqual(1, len(warningsShown))
    self.assertEqual('twisted.protocols.mice    was    deprecated    in    Twisted    16.0.0:    There    is    no    replacement    for    this    module.', warningsShown[0]['message'])
