public void testGlobalOverride(){
  final IIndexManager indexManager=null;
  final Properties properties=new Properties();
  final String namespace="foo.bar";
  final String globalName="bigdata.bar";
  final String defaultValue="goo";
  final String globalOverride="boo";
  assertEquals(defaultValue,Configuration.getProperty(indexManager,properties,namespace,globalName,defaultValue));
  properties.setProperty(globalName,globalOverride);
  assertEquals(globalOverride,Configuration.getProperty(indexManager,properties,namespace,globalName,defaultValue));
}

public void testGlobalOverride ( ) { final IIndexManager indexManager = null ; final Properties properties = new Properties ( ) ; final String namespace = "foo.bar" ; final String globalName = "bigdata.bar" ; final String defaultValue = "goo" ; final String globalOverride = "boo" ; assertEquals ( defaultValue , Configuration . getProperty ( indexManager , properties , namespace , globalName , defaultValue ) ) ; properties . setProperty ( globalName , globalOverride ) ; assertEquals ( globalOverride , Configuration . getProperty ( indexManager , properties , namespace , globalName , defaultValue ) ) ; }
unit test for the override of the default by specifying a global value for a property .
