@Test
public void testGetDataColumnFromConstructedQualifier() {

  for (byte[] family : ColumnUtil.COMMIT_FAMILY_NAME_BYTES) {
    Column expect = new Column(FAMILY, QUALIFIER);
    Column actual = ColumnUtil.getDataColumnFromConstructedQualifier(expect);
    Assert.assertEquals(expect, actual);
    expect = new Column(family, QUALIFIER);
    actual = ColumnUtil.getDataColumnFromConstructedQualifier(expect);
    Assert.assertEquals(expect, actual);
    expect = new Column(FAMILY, QUALIFIER);
    actual = ColumnUtil.getDataColumnFromConstructedQualifier(new Column(family, Bytes
        .toBytes("ThemisCF#Qualifier")));
    Assert.assertEquals(expect, actual);
    expect = new Column(FAMILY, illegalQualifier);
    actual = ColumnUtil.getDataColumnFromConstructedQualifier(new Column(family,
        illegalLockQualifier));
    Assert.assertEquals(expect, actual);
  }
}