private Namespace createNamespace(String namespaceName, Namespace parentNamespace,
			SymbolTable symbolTable) {

		int txId = program.startTransaction("Transaction");
		try {
			Namespace ns = symbolTable.createNameSpace(parentNamespace, namespaceName,
				SourceType.USER_DEFINED);
			return ns;
		}
		catch (Exception e) {
			return findMatchingChildNamespace(namespaceName, parentNamespace, symbolTable);
		}
		finally {
			program.endTransaction(txId, true);
		}
	}
Constructor that takes the name of the test to run.
Ghidra/Features/Base/src/test/java/ghidra/app/cmd/label/CreateNamespacesCmdTest.java