@Test
    public void testValueOf() {
        ConfigurationManager.getConfigInstance().setProperty("testValueOf.ribbon.CustomValueOf", "value");

        DefaultClientConfigImpl clientConfig = new DefaultClientConfigImpl();
        clientConfig.loadProperties("testValueOf");

        Property<CustomValueOf> prop = clientConfig.getDynamicProperty(CUSTOM_KEY);
        Assert.assertEquals("value", prop.getOrDefault().getValue());

        ConfigurationManager.getConfigInstance().setProperty("testValueOf.ribbon.CustomValueOf", "value2");
        Assert.assertEquals("value2", prop.getOrDefault().getValue());
    }
Test cases to verify the correctness of the Client Configuration settings

@author stonse
ribbon-core/src/test/java/com/netflix/client/config/ClientConfigTest.java