func (suite *StateSuite) TestComposeAddressesSuffixesAddresses(c *C) { c.Check( environs.ComposeAddresses([]string{"onehost", "otherhost"}, 1957), DeepEquals, []string{"onehost:1957", "otherhost:1957"}) }
func (suite *StateSuite) TestComposeAddressesAcceptsNil(c *C) { c.Check(environs.ComposeAddresses(nil, 1433), DeepEquals, []string{}) }