'Client and server have different protocol lists: only the common
element is chosen.'

def test_NPNAndALPNDifferent(self):

    serverProtocols = ['h2', 'http/1.1', 'spdy/2']
    clientProtocols = ['spdy/3', 'http/1.1']
    (negotiatedProtocol, lostReason) = negotiateProtocol(clientProtocols=clientProtocols, serverProtocols=serverProtocols)
    self.assertEqual(negotiatedProtocol, 'http/1.1')
    self.assertIsNone(lostReason)
