@Test
public void testColumnVersion() {

    ColumnImpl col = new ColumnImpl("c1", int[].class, null, null, Origin.DATA, true, false);
    ColumnVersion columnVersion = new ColumnVersion(col);
    Assert.assertSame(columnVersion.column, col);
    Assert.assertEquals(columnVersion.version.get(), Integer.MIN_VALUE);
    Assert.assertEquals(columnVersion.incrementAndGetVersion(), Integer.MIN_VALUE + 1l);
    columnVersion.version.set(Integer.MAX_VALUE);
    Assert.assertEquals(columnVersion.incrementAndGetVersion(), Integer.MIN_VALUE);
}