@Test
public void testColumnFamilyDelete() {

  byte[] rowKey = randomHelper.randomData("rk1-");
  byte[] family = randomHelper.randomData("family1-");
  Delete delete = new Delete(rowKey);
  delete.addFamily(family);
  MutateRowRequest request = adapt(delete);
  Assert.assertArrayEquals(rowKey, request.getRowKey().toByteArray());
  Assert.assertEquals(1, request.getMutationsCount());
  MutationCase mutationCase = request.getMutations(0).getMutationCase();
  Assert.assertEquals(MutationCase.DELETE_FROM_FAMILY, mutationCase);
  Mutation.DeleteFromFamily deleteFromFamily = request.getMutations(0).getDeleteFromFamily();
  Assert.assertArrayEquals(family, deleteFromFamily.getFamilyNameBytes().toByteArray());
}