@Test
	public void testRemoveSelection() throws Exception {

		// Place the cursor on a known scalar.
		Address addr = program.getMinAddress().getNewAddress(0x0040e00d);
		fireOperandFieldLocationEvent(addr, 0);

		// Make a selection containing the scalar above.
		AddressFactory addressFactory = program.getAddressFactory();
		AddressSet addressSet = new AddressSet();
		addressSet.addRange(addressFactory.getAddress("0040e00d"),
			addressFactory.getAddress("0040e00f"));
		ProgramSelection programSelection = new ProgramSelection(addressSet);
		tool.firePluginEvent(
			new ProgramSelectionPluginEvent("Test Scalar Selection", programSelection, program));

		// Call the action to remove the equates from the selection.
		performAction(removeAction, cb.getProvider(), false);

		// Capture the confirmation dialog.
		waitForDialogComponent(OptionDialog.class);
		captureDialog(OptionDialog.class);
	}
Captures the info dialog that is shown when the user attempts to remove an
equate on a selection.

@throws Exception
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/EquatePluginScreenShots.java