@Test
  public void testClassMethodsAreBuilderStyle() {
    /*
     * ColumnFamilyDescriptorBuilder should have a builder style setup where setXXX/addXXX methods
     * can be chainable together: . For example: ColumnFamilyDescriptorBuilder builder =
     * ColumnFamilyDescriptorBuilder.newBuilder() .setFoo(foo) .setBar(bar) .setBuz(buz) This test
     * ensures that all methods starting with "set" returns the declaring object
     */

    BuilderStyleTest.assertClassesAreBuilderStyle(ColumnFamilyDescriptorBuilder.class);
  }
Test that we add and remove strings from configuration properly.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestColumnFamilyDescriptorBuilder.java