@Test
public void testVersionStamp() throws Exception {

    try (FDBRecordContext context = openContext()) {
        openSimpleRecordStore(context);
        TestRecords1Proto.MySimpleRecord.Builder recBuilder = TestRecords1Proto.MySimpleRecord.newBuilder();
        recBuilder.setRecNo(1);
        recordStore.saveRecord(recBuilder.build());
        commit(context);
        assertNotNull(context.getVersionStamp());
        long committedVersion = context.getCommittedVersion();
        assertThat(committedVersion, greaterThan(0L));
        assertEquals(committedVersion, ByteBuffer.wrap(context.getVersionStamp()).getLong());
        // TODO: When have version stamp operations in tuples, etc. check them.
    }
}