@Test
	public void testGenerateChildren_CallReference_ToPointer_ToExternalFunction() throws Exception {

		//
		// Function A
		//  -> has memory reference to a pointer
		//     -> this pointer has an external reference to a function
		//

		Reference ref = builder.createMemoryCallReference(firstCalledFunctionAddress, "0x2000");

		Address toAddress = ref.getToAddress();
		builder.applyDataType(toAddress.toString(), new Pointer32DataType());

		String externalFunctionName = "External_Function";
		ExternalLocation location =
			builder.createExternalFunction("0x2020", "ExternalLibrary", externalFunctionName);

		builder.createMemoryReadReference(toAddress.toString(),
			location.getExternalSpaceAddress().toString());

		List<GTreeNode> children = node1.generateChildren(TaskMonitor.DUMMY);
		assertEquals(1, children.size());
		assertEquals(externalFunctionName, children.get(0).getName());
	}
This test class is covering the various types of 'calls' a function can make, such as a
direct call instruction, or through a user-defined reference.   External calls are also a bit
tricky.   This test was created by following the code paths in {@link OutgoingCallNode}
and making sure that each path was followed.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/calltree/OutgoingCallNodeTest.java