private void verifyNamespacesCreated(Namespace parentNamespace, String[] namespaceNames,
			SymbolTable symbolTable) {

		Namespace childNamespace = parentNamespace;

		// take into account the case in which the first namespace name is
		// that of the given parent
		int i = 0;
		if (namespaceNames[0].equals(parentNamespace.getName())) {
			i = 1;
		}

		for (; i < namespaceNames.length; i++) {
			childNamespace =
				findMatchingChildNamespace(namespaceNames[i], childNamespace, symbolTable);
			assertNotNull("A child namespace was not created: " + namespaceNames[i],
				childNamespace);
		}
	}
Constructor that takes the name of the test to run.
Ghidra/Features/Base/src/test/java/ghidra/app/cmd/label/CreateNamespacesCmdTest.java