@Test
	public void testReset() {
		setText("ABC");

		runSwing(() -> editor.reset());
		waitForSwing();

		assertEquals("", textField.getText());
	}
A test for the various String constraints.
Ghidra/Framework/Docking/src/test/java/docking/widgets/table/constrainteditor/StringConstraintEditorTest.java