@Test
public void getReadVersionTwice() {

    final FDBStoreTimer timer = new FDBStoreTimer();
    try (FDBRecordContext context = fdb.openContext(null, timer)) {
        long readVersion1 = context.getReadVersion();
        assertEquals(1, timer.getCount(FDBStoreTimer.Events.GET_READ_VERSION));
        long grvNanos = timer.getTimeNanos(FDBStoreTimer.Events.GET_READ_VERSION);
        long readVersion2 = context.getReadVersion();
        assertEquals(readVersion1, readVersion2);
        assertEquals(1, timer.getCount(FDBStoreTimer.Events.GET_READ_VERSION));
        assertEquals(grvNanos, timer.getTimeNanos(FDBStoreTimer.Events.GET_READ_VERSION));
    }
}