@Test
	public void testRemoveLastItem() throws Exception {
		provider = compareFunctions(Set.of(foo));
		assertTrue(provider.isVisible());
		plugin.removeFunction(foo);
		waitForSwing();
		assertFalse(provider.isVisible());
	}
Tests for the {@link FunctionComparisonPlugin function comparison plugin}
that involve the GUI
Ghidra/Features/CodeCompare/src/main/test/ghidra/features/codecompare/plugin/CompareFunctionsProviderTest.java