    @Test
    public void testMultipleDefaults()
            throws Exception
    {

        List<HostAndPort> addresses = ImmutableList.of(HostAndPort.fromParts("example.com", 1), HostAndPort.fromParts("example.com", 2));
        testAddressSelector(simpleAddressSelector(addresses), ImmutableMap.of(), addresses);

        testAddressSelector(
                simpleAddressSelector(addresses),
                ImmutableMap.of("testService" + ".thrift.client.addresses", "example.com:11,example.com:22"),
                ImmutableList.of(HostAndPort.fromParts("example.com", 11), HostAndPort.fromParts("example.com", 22)));
    }