private void setFilterText(final String text) throws Exception {
		final DefaultTableTextFilterFactory<StringRowObject> factory =
			new DefaultTableTextFilterFactory<>(new FilterOptions());
		final DefaultRowFilterTransformer<StringRowObject> transformer =
			new DefaultRowFilterTransformer<>(model, table.getColumnModel());

		SwingUtilities.invokeAndWait(
			() -> threadedModel.setTableFilter(factory.getTableFilter(text, transformer)));

		waitForTableModel();
	}
Make sure that either the two given rows are an exact match, or that the row objects that
represent each row are equal()
Ghidra/Features/Base/src/test.slow/java/docking/widgets/table/SelectionManagerTest.java