@Test
	public void testClearSetting() throws Exception {

		DataType dt = dataMgr.resolve(StringDataType.dataType, null);
		Settings defaultSettings = dt.getDefaultSettings();
		defaultSettings.setString(STRING_SETTING_NAME, "red");
		defaultSettings.setLong(LONG_SETTING_NAME, 10);

		defaultSettings.clearSetting(STRING_SETTING_NAME);
		assertNull(defaultSettings.getString(STRING_SETTING_NAME));
	}
Test setting default and instance settings on Data.
Ghidra/Features/Base/src/test.slow/java/ghidra/program/database/data/SettingsTest.java