@Test
	public void testDefaultLabelRendering_StringOption() throws Exception {

		//
		// default option is to render the string in the default label
		//
		Address operandAddr = addr("01002b58");
		assertOperandText(operandAddr, "s_abcdefghijklmnopqrstuvwxyzABCDEF_01001678");

		//
		// change the option and make sure the rendering updates
		//
		setBooleanOption(OptionsBasedDataTypeDisplayOptions.DISPLAY_ABBREVIATED_DEFAULT_LABELS,
			true);
		assertOperandText(operandAddr, "STR_01001678");
	}
Tests the option to not show strings in default labels.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/OperandFieldFactoryTest.java