def test_loseConnectionSetsDisconnecting(self):
        self.assertFalse(self.transport.disconnecting)
        self.transport.loseConnection()
        self.assertTrue(self.transport.disconnecting)
L{StringTransport.loseConnection} toggles the C{disconnecting} instance
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/test/test_stringtransport.py/StringTransportTests.test_loseConnectionSetsDisconnecting