private GhidraClass createClass(Namespace parent, String name) throws Exception {
		GhidraClass c = tx(program, () -> {
			SymbolTable symbolTable = program.getSymbolTable();
			return symbolTable.createClass(parent, name, SourceType.USER_DEFINED);
		});
		assertNotNull(c);
		return c;
	}
Tests for the symbol tree plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/symboltree/SymbolTreePlugin2Test.java