@Test(expected = MetaException.class)
  public void testCreateTableInvalidStorageDescriptorNullColumnType() throws Exception {
    Table table = getNewTable();
    table.getSd().getCols().get(0).setType(null);

    client.createTable(table);
  }
This test creates and queries a table and then drops it. Good for testing the happy path
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java