@Test
	public void testHasValidValue() {
		setText("");
		assertTrue(!editor.hasValidValue());

		setText("ABC");
		assertTrue(editor.hasValidValue());
	}
A test for the various String constraints.
Ghidra/Framework/Docking/src/test/java/docking/widgets/table/constrainteditor/StringConstraintEditorTest.java