assertEquals("The first file wasn't read correctly", "value1", initialProperties.getString("reloaded-key"));
assertEquals("The initial file value wasn't read correctly", RELOADED_KEY_INITIAL_VALUE, initialProperties.getString("reloaded-key"));
    public void testManualOneComponentReloading() throws IOException,            InterruptedException {    	String componentName = COMPONENT_NAME_1;        File dest = baseConf;        ComponentProperties initialProperties = EasyConf.			getConfiguration(componentName).getProperties();        assertEquals("The first file wasn't read correctly",                "value1", initialProperties.getString("reloaded-key"));        Properties newProps = new Properties();        String newPropertyValue = "value2";		newProps.setProperty("reloaded-key", newPropertyValue);        dest.delete();        Thread.sleep(1100);        FileUtil.write(dest, newProps);        EasyConf.refreshComponent(componentName);        ComponentProperties reloadedProperties = EasyConf.			getConfiguration(componentName).getProperties();        assertEquals("The file has not been reloaded!!",                newPropertyValue, reloadedProperties.getString("reloaded-key"));    }