'C{_BypassTLS.loseConnection} calls C{loseConnection} on the base
class, while preserving any default argument in the base class\'
C{loseConnection} implementation.'

def test_loseConnectionPassThrough(self):

    default = object()
    result = []
    class FakeTransport(object, ):
        def loseConnection(self, _connDone=default):
            result.append(_connDone)
    bypass = _newtls._BypassTLS(FakeTransport, FakeTransport())
    bypass.loseConnection()
    self.assertEqual(result, [default])
    notDefault = object()
    bypass.loseConnection(notDefault)
    self.assertEqual(result, [default, notDefault])
