protected void assertSelectedListItem(T expected) {
		JList<T> list = textField.getJList();
		T actual = runSwing(() -> list.getSelectedValue());
		assertEquals(expected, actual);
	}
The item that is selected in the JList; not the 'selectedValue' in the text field
Ghidra/Framework/Docking/src/test/java/docking/widgets/AbstractDropDownTextFieldTest.java