@Test
	public void testExternals() throws Exception {
		showSymbolTree();
		List<?> list =
			getChildren(globalNamespace, SymbolCategory.IMPORTS_CATEGORY.getSymbolType());

		GTreeNode extNode = rootNode.getChild(0);
		util.expandNode(extNode);
		assertEquals(list.size(), extNode.getChildCount());

		checkGTreeNodes(list, extNode);

		GTreeNode node = extNode.getChild(0);
		util.expandNode(node);
		GTreeNode fNode = node.getChild(0);
		util.selectNode(fNode);

		assertTrue(goToExtLocAction.isEnabledForContext(util.getSymbolTreeContext()));
	}
Tests for the symbol tree plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/symboltree/SymbolTreePlugin1Test.java