@Test
	public void testUndoCheckoutFromFindDialogMultiSelection() throws Exception {
		GTreeNode node = getNode(PROGRAM_B);
		addToVersionControl(node, true);
		node = getNode(PROGRAM_C);
		addToVersionControl(node, true);

		GTreeNode rootNode = frontEnd.getRootNode();
		selectNode(rootNode);

		DockingActionIf action = getAction("Find Checkouts");
		performFrontEndAction(action);

		FindCheckoutsDialog dialog = waitForDialogComponent(FindCheckoutsDialog.class);

		assertNotNull(dialog);

		final GTable table = findComponent(dialog.getComponent(), GTable.class);
		assertNotNull(table);
		waitForBusyTable(table);

		FindCheckoutsTableModel model = (FindCheckoutsTableModel) table.getModel();
		assertEquals(2, model.getRowCount());

		runSwing(() -> {
			ListSelectionModel selectionModel = table.getSelectionModel();
			selectionModel.setSelectionInterval(0, 1); // both rows
		});

		DockingActionIf undoCheckoutAction = getAction("UndoCheckOut");
		ActionContext context = dialog.getActionContext(null);
		assertTrue(undoCheckoutAction.isEnabledForContext(context));
		performAction(undoCheckoutAction, context, true);

		waitForBusyTable(table);
		assertEquals(0, model.getRowCount());
		runSwing(() -> dialog.close());
	}
Tests for version control (not multi user).
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/framework/main/datatree/VersionControlAction1Test.java