public void addToVersionControl(final GTreeNode node, final boolean keepCheckedOut)
			throws Exception {

		// TODO should not be needed
		selectNodes(node);

		DockingActionIf action = getAction("Add to Version Control");
		AbstractDockingTest.performAction(action, getDomainFileActionContext(node), false);

		VersionControlDialog dialog =
			AbstractDockingTest.waitForDialogComponent(VersionControlDialog.class);
		JTextArea textArea = AbstractDockingTest.findComponent(dialog, JTextArea.class);
		JCheckBox cb = AbstractDockingTest.findComponent(dialog, JCheckBox.class);
		runSwing(() -> {
			textArea.setText("This is a test");
			cb.setSelected(keepCheckedOut);
		});
		AbstractDockingTest.pressButtonByText(dialog, "OK");
		waitForTasks();
		DomainFile df = ((DomainFileNode) node).getDomainFile();
		assertTrue(df.isVersioned());
	}
Returns the default program node named {@link #PROGRAM_A}
@return the default program node named {@link #PROGRAM_A}
Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/test/FrontEndTestEnv.java