'L{HTTPClientParser.statusReceived} parses the version, code, and phrase
from the status line and stores them on the response object.'

def test_responseStatusParsing(self):

    request = Request('GET', '/', _boringHeaders, None)
    protocol = HTTPClientParser(request, None)
    protocol.makeConnection(StringTransport())
    protocol.dataReceived('HTTP/1.1    200    OK\r\n')
    self.assertEqual(protocol.response.version, ('HTTP', 1, 1))
    self.assertEqual(protocol.response.code, 200)
    self.assertEqual(protocol.response.phrase, 'OK')
