@Test
	public void testOffcutStringDynamicLabelReference_ShowOffcutInfoOptionOff() {
		//
		// Use options to hide the offcut info for a dynamic string reference.  By default the
		// option is on (unless we change that).  This tests the 'off' condition.
		//

		ToolOptions options = tool.getOptions(GhidraOptions.CATEGORY_BROWSER_FIELDS);
		options.setBoolean(
			GhidraOptions.OPERAND_GROUP_TITLE + Options.DELIMITER + "Show Offcut Information",
			false);

		assertTrue(cb.goToField(addr("1001000"), OperandFieldFactory.FIELD_NAME, 0, 1));
		ListingTextField tf = (ListingTextField) cb.getCurrentField();

		assertEquals("s_defgh", tf.getText());
	}
Tests the option to not show strings in default labels.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/OperandFieldFactoryTest.java