@Override
			public void modifyPrivate(ProgramDB program) {
				try {
					Symbol symbol = getUniqueSymbol(program, "XXX");
					assertEquals(SourceType.USER_DEFINED, symbol.getSource());
					symbol.setSource(SourceType.ANALYSIS);
				}
				catch (Exception e) {
					Assert.fail(e.getMessage());
				}
			}
Test changing source on existing symbol to same source in both Latest and My.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/listing/SymbolMergeManagerSourceTest.java