def do_authenticated(self):
        self.send_pending_expunges()
        if self.state == "authenticated":
            raise Bad("client already is in the authenticated state")
        raise No("unsupported authentication mechanism")

    ##################################################################
    #
C{patch()} return a L{monkey.MonkeyPatcher} object that can be used to
dataset/ETHPy150Open scanner/asimap/asimap/client.py/PreAuthenticated.do_authenticated--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_tests.py/TestMonkeyPatchSupport.test_revertDuringTest