private void createThunkFunction(String thunkAddressString, String thunkedAddressString) {

		Address thunkAddress = addr(thunkAddressString);
		goTo(tool, program, thunkAddress);

		// go to new function
		DockingActionIf thunkAction = getAction(tool, "Set Thunked Function");
		performAction(thunkAction, new ListingActionContext(cb.getProvider(), cb.getProvider()),
			false);

		// get dialog
		DialogComponentProvider dialog =
			waitForDialogComponent("Thunk Destination Function/Address");
		JTextField textField = findComponent(dialog, JTextField.class);
		setText(textField, thunkedAddressString);
		pressButtonByText(dialog, "OK");
		waitForProgram(program);

		// add a reference to the thunk function that will show up later when showing all refs
		Address arbitraryAddress = addr(thunkAddressString).subtract(10);
		createReference(arbitraryAddress, thunkAddress);
	}
Verifies that references inside of structures inside of structures, at the top-level
address will be displayed correctly.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/XrefViewerTest.java