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

public void test_exactNamespaceOverride ( ) { final IIndexManager indexManager = null ; final Properties properties = new Properties ( ) ; final String namespace = "foo.baz" ; final String globalName = "bigdata.bar" ; final String defaultValue = "goo" ; final String overrideValue = "boo" ; assertEquals ( defaultValue , Configuration . getProperty ( indexManager , properties , namespace , globalName , defaultValue ) ) ; final String overrideName = Configuration . getOverrideProperty ( namespace , globalName ) ; properties . setProperty ( overrideName , overrideValue ) ; assertEquals ( overrideValue , Configuration . getProperty ( indexManager , properties , namespace , globalName , defaultValue ) ) ; }
unit test for override of a property value specified for the exact namespace ( rather than some namespace prefix ) .
