'Test that parsing happens when fed a complete line.'

def test_feedParsing(self):

    parser = _v1parser.V1Parser()
    (info, remaining) = parser.feed('PROXY    TCP4    127.0.0.1    127.0.0.1    ')
    self.assertFalse(info)
    self.assertFalse(remaining)
    (info, remaining) = parser.feed('8080    8888')
    self.assertFalse(info)
    self.assertFalse(remaining)
    (info, remaining) = parser.feed('\r\n')
    self.assertFalse(remaining)
    self.assertIsInstance(info.source, address.IPv4Address)
    self.assertEqual(info.source.host, '127.0.0.1')
    self.assertEqual(info.source.port, 8080)
    self.assertEqual(info.destination.host, '127.0.0.1')
    self.assertEqual(info.destination.port, 8888)
