@Test
public void complete() {

    FDBRecordVersion v1 = FDBRecordVersion.complete(VERSION_BYTES_ONE, 5);
    assertTrue(v1.isComplete());
    assertEquals(1066L, v1.getDBVersion());
    assertArrayEquals(VERSION_BYTES_ONE, v1.getGlobalVersion());
    assertEquals(5, v1.getLocalVersion());
    FDBRecordVersion v2 = FDBRecordVersion.complete(VERSION_BYTES_FOUR);
    assertTrue(v2.isComplete());
    assertEquals(1776L, v2.getDBVersion());
    assertArrayEquals(Arrays.copyOfRange(VERSION_BYTES_FOUR, 0, 10), v2.getGlobalVersion());
    assertEquals(0, v2.getLocalVersion());
    FDBRecordVersion v3 = FDBRecordVersion.complete(VERSION_BYTES_FIVE);
    assertTrue(v3.isComplete());
    assertEquals(1776L, v3.getDBVersion());
    assertArrayEquals(Arrays.copyOfRange(VERSION_BYTES_FIVE, 0, 10), v3.getGlobalVersion());
    assertEquals(0xffff, v3.getLocalVersion());
}