'negotiatedProtocol return L{None} even when NPN/ALPN aren\'t supported.
This works because, as neither are supported, negotiation isn\'t even
attempted.'

def test_NegotiatedProtocolReturnsNone(self):

    serverProtocols = None
    clientProtocols = None
    (negotiatedProtocol, lostReason) = negotiateProtocol(clientProtocols=clientProtocols, serverProtocols=serverProtocols)
    self.assertIsNone(negotiatedProtocol)
    self.assertIsNone(lostReason)
