protected void setAnalysisOptions(String optionName) {
		int txId = program.startTransaction("Analyze");
		Options analysisOptions = program.getOptions(Program.ANALYSIS_PROPERTIES);
		analysisOptions.setBoolean(optionName, false);
		program.endTransaction(txId, true);
	}
Test the changing of the ARM/Thumb bit for code flow

 ARM code:
  ADR r12=addr
  bx  r12
addr:
  Thumb code...
  
  Also tests that analysis puts on the correct reference on the r12, and not on the BX
Ghidra/Processors/ARM/src/test.slow/java/ghidra/app/plugin/core/analysis/ArmThumbChangeDisassemblyTest.java