@Test
	public void testDefaultSettingsOnTypedef2() throws Exception {
		DataType byteDT = dataMgr.resolve(ByteDataType.dataType, null);
		Settings settings = byteDT.getDefaultSettings();

		TypedefDataType tdt = new TypedefDataType("ByteTypedef", byteDT);
		TypeDef td = (TypeDef) dataMgr.addDataType(tdt, null);
		Settings defSettings = td.getDefaultSettings();
		defSettings.setLong("format", FormatSettingsDefinition.OCTAL);
		assertEquals((long) FormatSettingsDefinition.OCTAL, defSettings.getValue("format"));

		// change the default settings for Byte data type; should not 
		// affect the typedef default settings

		settings.setLong("format", FormatSettingsDefinition.BINARY);

		defSettings = td.getDefaultSettings();
		assertEquals((long) FormatSettingsDefinition.OCTAL, defSettings.getValue("format"));
	}
Test setting default and instance settings on Data.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/SettingsTest.java