@Test
	public void testClickingList() {

		//
		// Since this text field does not allow selection, test that no selection is made when
		// clicking the list and that the list does not go away when double-clicked (both of
		// these are things that happen when selection in the list is enabled).
		//

		typeText("d", true);
		assertMatchingWindowShowing();

		// fire a mouse click into the window
		int index = 1; // pick an item
		JList<String> list = textField.getJList();
		Point clickPoint = list.indexToLocation(index);
		String clickedItem = list.getModel().getElementAt(index);
		int clickCount = 1; // single-click
		clickMouse(list, MouseEvent.BUTTON1, clickPoint.x, clickPoint.y, clickCount, 0);
		assertMatchingWindowShowing();
		assertNoSelectedListItem();

		// double-click *will* work, as a special case, even when no selections are allowed
		// in the list
		clickCount = 2; // double-click
		clickMouse(list, MouseEvent.BUTTON1, clickPoint.x, clickPoint.y, clickCount, 0);
		assertMatchingWindowHidden();
		assertNoSelectedListItem();
		assertSelectedValue(clickedItem);
	}
This test achieves partial coverage of {@link DropDownTextField}.  Further coverage is
provided by {@link DropDownSelectionTextFieldTest}, as that test enables item selection 
in the widget being tested.
Ghidra/Framework/Docking/src/test/java/docking/widgets/DropDownTextFieldTest.java