private void assertExpanded(GTreeNode node) {

		List<TreePath> expandedPaths = gTree.getExpandedPaths();
		TreePath path = expandedPaths
				.stream()
				.filter(p -> p.getLastPathComponent().equals(node))
				.findAny()
				.orElse(null);
		assertNotNull(path);
	}
Test variable to easily control the filtering of test filters.
Ghidra/Framework/Docking/src/test.slow/java/docking/widgets/tree/GTreeTest.java