private static <T extends ComponentProvider> T doWaitForComponentProvider(
			DockingWindowManager windowManager, Class<T> clazz) {

		Objects.requireNonNull(windowManager, "DockingWindowManager cannot be null");

		int totalTime = 0;
		while (totalTime <= DEFAULT_WAIT_TIMEOUT) {

			T t = getComponentProvider(windowManager, clazz);
			if (t != null) {
				return t;
			}
			totalTime += sleep(DEFAULT_WAIT_DELAY);
		}

		throw new AssertionFailedError(
			"Timed-out waiting for ComponentProvider of class: " + clazz);
	}
Allows you to find a component provider <b>with the given title</b>.  Most plugins will
only ever have a single provider.   In those cases, use
{@link #waitForComponentProvider(Class)}.  This version of that method is to allow you to
differentiate between multiple instances of a given provider that have different titles.

@param clazz The class of the ComponentProvider to locate
@param title the title of the component provider
@return The component provider, or null if one cannot be found
Ghidra/Framework/Docking/src/main/java/docking/test/AbstractDockingTest.java