@SuppressWarnings("unchecked")
	private static DockingWindowManager findActiveDockingWindowManager() {
		DockingWindowManager activeInstance = DockingWindowManager.getActiveInstance();
		if (activeInstance != null) {
			// will not happen if there is a tool showing
			return activeInstance;
		}

		// just in case there is a tool, but it is not visible, grab the tool's manager
		List<DockingWindowManager> managers =
			(List<DockingWindowManager>) getInstanceField("instances", DockingWindowManager.class);
		for (int i = managers.size() - 1; i >= 0; i--) {
			DockingWindowManager m = managers.get(i);
			String title = m.getRootFrame().getTitle();
			if (title.contains("Tool")) {
				return m;
			}
		}

		return null;
	}
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