@Test
	public void testSearchOptions() throws Exception {
		// verify that the search dialog allows for searching Functions,
		// Comments, labels, instruction mnemonics and operands, defined data
		// mnemonics and values.
		SearchTextDialog dialog = getDialog();
		JCheckBox cb = (JCheckBox) findButton(dialog.getComponent(), "Functions");
		assertNotNull(cb);

		cb = (JCheckBox) findButton(dialog.getComponent(), "Labels");
		assertNotNull(cb);

		cb = (JCheckBox) findButton(dialog.getComponent(), "Instruction Mnemonics");
		assertNotNull(cb);

		cb = (JCheckBox) findButton(dialog.getComponent(), "Instruction Operands");
		assertNotNull(cb);

		cb = (JCheckBox) findButton(dialog.getComponent(), "Defined Data Mnemonics");
		assertNotNull(cb);

		cb = (JCheckBox) findButton(dialog.getComponent(), "Defined Data Values");
		assertNotNull(cb);

	}
Tests for the search text plugin.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/searchtext/SearchTextPlugin1Test.java