@Test
	public void testDepthFirst() {
		Iterator<GTreeNode> it = new DepthFirstIterator(root);
		assertTrue(it.hasNext());
		assertEquals(root, it.next());
		assertTrue(it.hasNext());
		assertEquals(node0, it.next());
		assertTrue(it.hasNext());
		assertEquals(node0_0, it.next());
		assertTrue(it.hasNext());
		assertEquals(node0_1, it.next());
		assertTrue(it.hasNext());
		assertEquals(node1, it.next());
		assertTrue(it.hasNext());
		assertEquals(node1_0, it.next());
		assertTrue(it.hasNext());
		assertEquals(node2, it.next());

		assertFalse(it.hasNext());
	}
Class to test the {@link DepthFirstIterator} and {@link BreadthFirstIterator} classes for
iterator through the {@link GTree} nodes.
Ghidra/Framework/Docking/src/test/java/docking/widgets/tree/support/TreeIteratorTest.java