public void assertIconsEqual(Icon expected, Icon actual) {
		if (expected.equals(actual)) {
			return;
		}
		URL url1 = getURL(expected);
		URL url2 = getURL(actual);

		if (url1 != null && url1.equals(url2)) {
			return;
		}
		fail("Expected icon [" + expected.getClass().getSimpleName() + "]" + expected.toString() +
			", but got: [" + actual.getClass().getSimpleName() + "]" + actual.toString());
	}
Asserts that the two icons are or refer to the same icon (handles GIcon)
@param expected the expected icon
@param actual the actual icon
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java