private void checkSameContent(LocalManagedBufferFile expectedBf,
			LocalManagedBufferFile inspectedBf) throws IOException {

		assertEquals(expectedBf.getIndexCount(), inspectedBf.getIndexCount());

		int[] vFreeList = inspectedBf.getFreeIndexes();
		int[] pFreeList = inspectedBf.getFreeIndexes();
		Arrays.sort(vFreeList);
		Arrays.sort(pFreeList);
		assertTrue("Free index lists differ", Arrays.equals(vFreeList, pFreeList));

		assertTrue("Parameter list mismatch",
			Arrays.equals(expectedBf.getParameterNames(), inspectedBf.getParameterNames()));
		for (String name : expectedBf.getParameterNames()) {
			assertEquals("Parameter values differ", expectedBf.getParameter(name),
				inspectedBf.getParameter(name));
		}

		DataBuffer pbuf = new DataBuffer();
		DataBuffer vbuf = new DataBuffer();
		int cnt = inspectedBf.getIndexCount();
		for (int i = 0; i < cnt; i++) {
			checkSameContent(i, expectedBf.get(vbuf, i), inspectedBf.get(pbuf, i));
		}
	}
Test local update following a merge checkin scenario.  A new private file is created based upon version-1.
This private file is modified resulting in a file which is shorter than a new version-3.  This new private file
prior to update contains:
		Parms: TestParm1=0x320
		Buffers: 0[-1]=empty, 1[21]=0xff.., 2[12]=0xf2..
Following update the private file should match version-3 which contains:
		Parms: TestParm1=0x329, TestParm2=0x549, TestParm2=0x679
		Buffers: 0[-1]=empty, 1[11]=0xf1.., 2[12]=0xf2.., 3[13]=0xf3.., 4[14]=empty, 5[15]=0xf5.., 6[-1]=empty, 7[17]=0xf7.., 8[18]=0xf8.., 9[19]=0xf9..
@throws Exception
Ghidra/Framework/DB/src/test/java/db/buffers/VersionedLocalBufferFileTest.java