@Test
	public void testConvertNamespaceToClass() throws Exception {
		String classNodeName = "MyClass";
		GTreeNode nsNode = rootNode.getChild(SymbolCategory.NAMESPACE_CATEGORY.getName());
		GTreeNode classNode = util.createObject(
			nsNode, classNodeName, createNamespaceAction);

		util.selectNode(classNode);
		ActionContext context = util.getSymbolTreeContext();
		performTreeAction(convertToClassAction, context);

		GTreeNode classRootNode = rootNode.getChild(SymbolCategory.CLASS_CATEGORY.getName());
		classNode = classRootNode.getChild(classNodeName);
		assertNotNull(classNode);
		waitForCondition(tree::isEditing);
	}
Tests for the symbol tree plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/symboltree/SymbolTreePlugin2Test.java