private JRadioButton getButtonForChoice(int option) {

		JRadioButton rb = waitForValue(() -> {
			if (option == DataTypeMergeManager.OPTION_LATEST) {
				return (JRadioButton) findButton(window, MergeConstants.LATEST_TITLE);
			}
			else if (option == DataTypeMergeManager.OPTION_MY) {
				return (JRadioButton) findButton(window, MergeConstants.MY_TITLE);
			}
			return (JRadioButton) findButton(window, MergeConstants.ORIGINAL_TITLE);
		});

		return rb;
	}
Adapter for data type merge tests.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/merge/datatypes/AbstractDataTypeMergeTest.java