@Test(expected = IllegalArgumentException.class)
  public void testModifyInexistentFamily() {
    byte[] familyName = Bytes.toBytes("cf");
    TableDescriptorBuilder.newBuilder(TableName.valueOf(name.getMethodName()))
      .modifyColumnFamily(ColumnFamilyDescriptorBuilder.of(familyName)).build();
  }
Test default value handling for memStoreFlushSize
hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestTableDescriptorBuilder.java