@Test
	public void testOptionReplacing_DefaultNewValue_DefaultOldValue() throws Exception {

		//
		// The old option's default value should not be applied to the new option
		//

		installAnalyzer(NotReplacingTestStubAnalyzer.class);

		// install old options; the default value will not be used in the new option
		installOldOptions(OLD_OPTION_DEFAULT_VALUE);

		openProgram();

		optionsDialog = invokeAnalysisDialog();

		// check options displayed in the dialog
		assertOnlyNewOptionsInUi();
		assertOptionValue(NEW_OPTION_NAME, NEW_OPTION_DEFAULT_VALUE);
		assertOptionValue(UNCHANGING_OPTION_NAME, UNCHANGING_OPTION_DEFAULT_VALUE);
		assertOldValueRemoved();
	}
This class test the ability to replace analysis options using an {@link AnalysisOptionsUpdater}.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/analysis/AnalysisOptions2Test.java