@Test
	public void testRefreshFolder() throws Exception {

		doCreateVersions();

		DomainFolder rootFolder = frontEnd.getRootFolder();
		DomainFolder folder = rootFolder.createFolder("myFolder");

		Program p = frontEnd.buildProgram(this);
		folder.createFile("My_Program", p, TaskMonitor.DUMMY);
		p.release(this);

		waitForSwing();

		GTreeNode node = getNode(PROGRAM_A);
		DomainFile df = ((DomainFileNode) node).getDomainFile();
		df.copyTo(folder, TaskMonitor.DUMMY);

		waitForSwing();

		final GTreeNode fnode = getFolderNode("myFolder");
		assertNotNull(fnode);
		expandNode(fnode);
		assertEquals(2, fnode.getChildCount());
		selectNode(fnode);

		DockingActionIf action = getAction("Refresh");
		performFrontEndAction(action);
		assertEquals(2, fnode.getChildCount());
	}
Tests for version control (not multi user).
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/framework/main/datatree/VersionControlAction1Test.java