'L{searchFileForAll} returns a list of all addresses associated with the
name passed to it.'

def test_allAddresses(self):

    hosts = self.path()
    hosts.setContent('127.0.0.1                    foobar.example.com\n127.0.0.2                    foobar.example.com\n::1                                            foobar.example.com\n')
    self.assertEqual(['127.0.0.1', '127.0.0.2', '::1'], searchFileForAll(hosts, 'foobar.example.com'))
