@Override
	public void displayWarningMessage(ErrorLogger errorLogger, Object originator, Component parent,
			String title, Object message, Throwable throwable) {
		messages.add("WARNING: " + String.valueOf(message));
	}
An {@link ErrorDisplay} implementation that lets you track log messages during testing
Ghidra/Framework/Generic/src/test/java/ghidra/util/SpyErrorDisplay.java