@Test
	public void testApplyEnum() throws Exception {

		DataTypeManager dtm = program.getDataTypeManager();
		ApplyEnumDialog dialog = new ApplyEnumDialog(tool, dtm);
		runSwing(() -> tool.showDialog(dialog), false);
		waitForSwing();
		captureDialog(dialog);
	}
Captures the listing before the apply enum action is executed.
Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/EquatePluginScreenShots.java