'If the transport reports that HTTP/2 is negotiated and HTTP/2 is not
present, an error is encountered.'

def test_http2_absent(self):

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