@Test
	public void testSetStatusText() {

		String testText1 = "Some test status text...";
		setStatusText(testText1);

		// make sure the tooltip text is updated
		String tooltipText = statusBar.getToolTipText();

		assertTrue("The tooltip text was not updated with the current " + "status message.",
			(tooltipText.indexOf(testText1) > -1));

		testFrame.setVisible(true);

		String testText2 = "More test status text...";
		setStatusText(testText2);
		tooltipText = statusBar.getToolTipText();

		// get the tooltip text and make sure that both messages are presented
		assertTrue("The tooltip text was not updated with the current " + "status message.",
			(tooltipText.indexOf(testText1) > -1));
		assertTrue("The tooltip text was not updated with the current " + "status message.",
			(tooltipText.indexOf(testText2) > -1));
	}
Tests the {@link StatusBar} class.


@since  Tracker Id 323
Ghidra/Framework/Docking/src/test.slow/java/docking/StatusBarTest.java