'If the transport reports that HTTP/2 is negotiated and HTTP/2 is
present, that\'s what\'s negotiated.'

def test_http2_present(self):

    b = StringTransport()
    b.negotiatedProtocol = 'h2'
    negotiatedProtocol = self._negotiatedProtocolForTransportInstance(b)
    self.assertEqual(negotiatedProtocol, 'h2')
