@Test
	public void testVersionQuickUpdate() throws Exception {

		testPrivateModify();

		LocalManagedBufferFile vbf = null;
		LocalManagedBufferFile pbf = null;
		VersionFile vf = null;
		try {

			// Open Versioned file for update
			vbf = new LocalManagedBufferFile(versionedTestFileMgr, true, 1, VERSIONED);

			// Open private file for checkin source
			pbf = new LocalManagedBufferFile(privateTestFileMgr, false, -1, PRIVATE);

			// Create version-2 using quick update
			pbf.createNewVersion(vbf, null, TaskMonitor.DUMMY);

			vbf.close();
			vbf = null;

			assertTrue(versionedTestFileMgr.getBufferFile(2).exists());
			assertTrue(versionedTestFileMgr.getVersionFile(1).exists());
			assertTrue(versionedTestFileMgr.getChangeDataFile(1).exists());

			// Clear private change files - simulate continued checkout
			privateTestFileMgr.getChangeDataFile(-1).delete();
			privateTestFileMgr.getChangeMapFile().delete();

			// Reopen versioned buffer file for reading
			vbf = new LocalManagedBufferFile(versionedTestFileMgr, false, -1, VERSIONED);
			assertEquals(2, vbf.getVersion());

			long fileId = vbf.getFileId();
			assertTrue(fileId != 0);

			vf = new VersionFile(versionedTestFileMgr.getVersionFile(1));
			assertEquals(fileId, vf.getTargetFileID());

// TODO: Check version file data ?

			vf.close();
			vf = null;

			checkSameContent(vbf, pbf);

			vbf.close();
			vbf = null;

			pbf.close();
			pbf = null;

		}
		finally {
			if (vf != null) {
				try {
					vf.close();
				}
				catch (IOException e) {
					// ignore
				}
			}
			if (vbf != null) {
				try {
					vbf.close();
				}
				catch (IOException e) {
					// ignore
				}
			}
			if (pbf != null) {
				try {
					pbf.close();
				}
				catch (IOException e) {
					// ignore
				}
			}
		}
	}
Test quick checkin scenario: versioned file is updated using private changes.
Test results in the creation of a private file and version-2 containing:
		Parms: TestParm1=0x322, TestParm2=0x544
		Buffers: 0[10]=0xf0.., 1[11]=0xf1.., 2[-1]=empty, 3[-1]=empty, 4[14]=0xf4..
Version-1 file contains:
		Parms: TestParm1=0x321, TestParm2=0x543
		Buffers: 0[10]=0xf0.., 1[11]=0xf1.., 2[-1]=empty
@throws Exception
Ghidra/Framework/DB/src/test/java/db/buffers/VersionedLocalBufferFileTest.java