@Test
  public void testDBOwner() throws TException {
    Database db = client.getDatabase(Warehouse.DEFAULT_DATABASE_NAME);
    assertEquals(db.getOwnerName(), HMSHandler.PUBLIC);
    assertEquals(db.getOwnerType(), PrincipalType.ROLE);
  }
Creates a simple table under specified database
@param dbName    the database name that the table will be created under
@param tableName the table name to be created
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java