@Test
  public void testIllegalTableNamesRegex() {
    for (String tn : illegalTableNames) {
      LOG.info("Testing: '" + tn + "'");
      assertFalse(Pattern.matches(TableName.VALID_USER_TABLE_REGEX, tn));
    }
  }
Test that we add and remove strings from settings properly.
hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestTableDescriptorBuilder.java