'The first address associated with the given hostname is returned.'

def test_firstAddress(self):

    hosts = self.path()
    hosts.setContent('::1    foo.example.com\n10.1.2.3    foo.example.com\nfe80::21b:fcff:feee:5a1d    foo.example.com\n')
    self.assertEqual('::1', searchFileFor(hosts.path, 'foo.example.com'))
