mock implementation of HostsForCollection