@Test
	public void testInvalidParameterDataTypeEdit() throws Exception {

		//
		// First create the tool and a function.  We'll modify one of the function
		// params to have a bogus entry we can test against.
		//
		createFunctionAtEntry();

		FunctionEditorDialog dialog = editFunction();
		GTable paramTable = findComponent(dialog.getComponent(), GTable.class);

		TableCellEditor cellEditor = editCell(paramTable, 0, 1);

		setEditorText(cellEditor, "a/b/c");

		// If the status field indicates that we have an invalid data type, then we're good.  If
		// an exception is thrown on the stopCellEditing() call, then this will be skipped and
		// the test will fail.
		assertTrue(dialog.getStatusText().contains("Invalid data type"));
	}
Tests that an invalid parameter type entry will generate the proper error message
shown in the status box, and NOT present the user with a stack trace.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/function/editor/FunctionEditorDialogTest.java