private void searchProgramAndDisplayResults(Program customProgram, AddressSet selection,
			long min, long max) throws Exception {

		ScalarSearchDialog dialog = launchScalarSearchDialog(customProgram, selection);

		dialog.setFilterValues(min, max);

		pressButtonByText(dialog, "Search");
		provider = waitForComponentProvider(ScalarSearchProvider.class);
		waitForTableModel(provider.getScalarModel());
	}
Opens the given program and the scalar search dialog, executing a search for scalars
within the program. Optionally filters search results using the min/max values.

@param customProgram the program to search
@param selection address set to use for program selection; can be null
@param min minimum filter value
@param max maximum filter value
@throws Exception
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/scalartable/ScalarSearchTest.java