source: class ConfigManagerTest {
  
      @Test
      public void getTest() throws InterruptedException {
  
target:     	
      	//get by default value
      	assertEquals("NA", ConfigManager.get("noExisting", "NA"));
      	//get by config.file
      	assertEquals("catalog.json", ConfigManager.get("catalogFile"));
      	
      	//get by default value, INT
      	assertEquals(1, ConfigManager.getInt("noExisting", 1));
      	//get INT
         	assertEquals(10000, ConfigManager.getInt("couchdbTimeout"));
         	
      	//get by default value, Long
      	assertEquals(1L, ConfigManager.getLong("noExisting", 1));
      	//get by system.env Long
         	assertEquals(10000L, ConfigManager.getLong("couchdbTimeout"));
  
      	//get by default value, boolean
      	assertEquals(false, ConfigManager.getBoolean("noExisting", false));
         	
      }
  
  }