public void test_PreparedPropertiesNotContainOldValues() throws Exception {
  String namespace="newNamespace";
  Properties properties=new Properties();
  properties.put(RemoteRepository.OPTION_CREATE_KB_NAMESPACE,namespace);
  properties.put("com.bigdata.namespace." + RemoteRepository.DEFAULT_NAMESPACE + ".spo.com.bigdata.btree.BTree.branchingFactor","1024");
  properties.put("com.bigdata.namespace." + RemoteRepository.DEFAULT_NAMESPACE + ".lex.com.bigdata.btree.BTree.branchingFactor","400");
  final Properties p=m_mgr.getPreparedProperties(namespace,properties);
  assertFalse(p.containsKey("com.bigdata.namespace." + RemoteRepository.DEFAULT_NAMESPACE + ".spo.com.bigdata.btree.BTree.branchingFactor"));
  assertFalse(p.containsKey("com.bigdata.namespace." + RemoteRepository.DEFAULT_NAMESPACE + ".lex.com.bigdata.btree.BTree.branchingFactor"));
}

public void test_PreparedPropertiesNotContainOldValues ( ) throws Exception { String namespace = "newNamespace" ; Properties properties = new Properties ( ) ; properties . put ( RemoteRepository . OPTION_CREATE_KB_NAMESPACE , namespace ) ; properties . put ( "com.bigdata.namespace." + RemoteRepository . DEFAULT_NAMESPACE + ".spo.com.bigdata.btree.BTree.branchingFactor" , "1024" ) ; properties . put ( "com.bigdata.namespace." + RemoteRepository . DEFAULT_NAMESPACE + ".lex.com.bigdata.btree.BTree.branchingFactor" , "400" ) ; final Properties p = m_mgr . getPreparedProperties ( namespace , properties ) ; assertFalse ( p . containsKey ( "com.bigdata.namespace." + RemoteRepository . DEFAULT_NAMESPACE + ".spo.com.bigdata.btree.BTree.branchingFactor" ) ) ; assertFalse ( p . containsKey ( "com.bigdata.namespace." + RemoteRepository . DEFAULT_NAMESPACE + ".lex.com.bigdata.btree.BTree.branchingFactor" ) ) ; }
test verifies prepared properties do not contain old properties .
