@Override
			public void modifyPrivate(ProgramDB program) {
				try {
					SymbolTable symtab = program.getSymbolTable();
					FunctionManager functionMgr = program.getFunctionManager();

					Address entry = addr(program, "0x0100219c");
					Function f = functionMgr.getFunctionAt(entry);
					Namespace parentNamespace = symtab.createNameSpace(program.getGlobalNamespace(),
						"Bar", SourceType.USER_DEFINED);
					f.setParentNamespace(parentNamespace);

					entry = addr(program, "0x0100415a");
					f = functionMgr.getFunctionAt(entry);
					parentNamespace = symtab.createNameSpace(program.getGlobalNamespace(), "NS2",
						SourceType.USER_DEFINED);
					f.setParentNamespace(parentNamespace);

				}
				catch (Exception e) {
					Assert.fail(e.getMessage());
				}
			}
Test the merge of the versioned program's symbols in the listing.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/SymbolMergeManagerNamespace1Test.java