public static void updateAttributes(final LoadBalancer.Subchannel subchannel,
                                        final Attributes attributes) {
        setAttributeValue(subchannel, WEIGHT_KEY, attributes);
        setAttributeValue(subchannel, STATSU_KEY, attributes);
    }
@Test
    public void testUpdateAttributes() {
        final LoadBalancer.Subchannel subchannel = mock(LoadBalancer.Subchannel.class);
        SubChannels.updateAttributes(subchannel, mock(Attributes.class));
    }