@Test
	public void testGetCommonStartPath() {
		GraphPath<Integer> sharedStartPath = new GraphPath<>();
		for (int i = 0; i < 10; i++) {
			sharedStartPath.add(i);
		}

		GraphPath<Integer> differentPath = sharedStartPath.copy();
		for (int i = 90; i < 100; i++) {
			differentPath.add(i);
		}

		GraphPath<Integer> commonStartPathResult =
			sharedStartPath.getCommonStartPath(differentPath);
		for (int i = 0; i < commonStartPathResult.size(); i++) {
			assertEquals(sharedStartPath.get(i), commonStartPathResult.get(i));
		}

		assertEquals(sharedStartPath.size(), commonStartPathResult.size());
	}
Test to verify if getCommonStartPath() function works correctly.
Ghidra/Framework/Graph/src/test.slow/java/ghidra/graph/GraphPathTest.java