@Test
public void testAddSecondaryColumn() throws IOException {

  PrimaryLock lock = new PrimaryLock();
  lock.addSecondaryColumn(COLUMN, Type.Put);
  Assert.assertEquals(Type.Put, lock.getSecondaryColumn(COLUMN));
  lock.addSecondaryColumn(COLUMN, Type.DeleteColumn);
  Assert.assertEquals(Type.DeleteColumn, lock.getSecondaryColumn(COLUMN));
  lock.addSecondaryColumn(COLUMN_WITH_ANOTHER_TABLE, Type.Put);
  Assert.assertEquals(2, lock.getSecondaryColumns().size());
}