@Before
	public void setUp() throws Exception {
		program = createDefaultProgram(testName.getMethodName(), ProgramBuilder._TOY, this);
		listing = program.getListing();
		space = program.getAddressFactory().getDefaultAddressSpace();
		dataMgr = program.getDataTypeManager();
		transactionID = program.startTransaction("Test");
		addBlock();

		// pointer-typedef has the largest 
//		System.out.println("Defined string settings:");
//		for (SettingsDefinition def : StringDataType.dataType.getSettingsDefinitions()) {
//			System.out.println(def.getStorageKey());
//		}

		for (int i = 0; i < 40; i++) {
			DataUtilities.createData(program, addr(i), StringDataType.dataType, 1,
				ClearDataMode.CLEAR_ALL_CONFLICT_DATA);
		}
	}
Test setting default and instance settings on Data.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/SettingsTest.java