private void checkStatusMessage(String expectedMessage) {

		waitForSwing();

		PluginTool pluginTool = plugin.getTool();
		DockingWindowManager windowManager = pluginTool.getWindowManager();
		Object rootNode = TestUtils.invokeInstanceMethod("getRootNode", windowManager);
		StatusBar statusBar = (StatusBar) TestUtils.getInstanceField("statusBar", rootNode);
		JLabel statusLabel = (JLabel) TestUtils.getInstanceField("statusLabel", statusBar);
		String statusMessage = statusLabel.getText();
		assertEquals(expectedMessage, statusMessage);
	}
Tests for the action that creates labels from the names and values in a selection of enum
data types.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/datamgr/CreateLabelsFromEnumsTest.java