@Test
	public void testApi_LoadSearchDialog_Addresses() {

		closeDialog();// using new search dialog below

		InstructionSearchApi api = new InstructionSearchApi();

		AddressFactory addressFactory = plugin.getCurrentProgram().getAddressFactory();
		Address min = addressFactory.getAddress("004065ea");
		Address max = addressFactory.getAddress("004065f2");
		AddressSet addrSet = addressFactory.getAddressSet(min, max);

		runSwing(() -> api.loadInstructions(addrSet, plugin.getTool()));

		waitForSwing();

		dialog = waitForDialogComponent(InstructionSearchDialog.class);
		component = dialog.getComponent();

		instructionTable = dialog.getTablePanel().getTable();
		previewTable = dialog.getPreviewTablePanel().getTable();

		assertEquals(3, dialog.getSearchData().getInstructions().size());
		assertEquals(3, instructionTable.getRowCount());
		assertEquals(3, instructionTable.getColumnCount());

		InstructionTableDataObject obj00 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(0, 0);
		assertEquals("CALL", obj00.getData());

		InstructionTableDataObject obj10 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(1, 0);
		assertEquals("ADD", obj10.getData());

		InstructionTableDataObject obj20 =
			(InstructionTableDataObject) instructionTable.getModel().getValueAt(2, 0);
		assertEquals("MOV", obj20.getData());
	}
Verify that users can use the {@link InstructionSearchApi} to bring up the 
{@link InstructionSearchDialog} loaded with instructions derived from the given address
set, which should correspond to addresses in the currently-loaded program.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java