    @Test
    public void testLoadProperties() throws Exception {

        ConfigurationManager.loadPropertiesFromResources("test.properties");
        assertEquals("9", ConfigurationManager.getConfigInstance().getProperty("com.ctrip.config.samples.needCount"));
        assertEquals("9", ConfigurationManager.getConfigInstance().getString("com.ctrip.config.samples.needCount"));
        assertEquals("100", ConfigurationManager.getConfigInstance().getString("no.exist","100"));
    }