@Test
  public void testSingleAuth() throws Exception {
    for (HiveAuthConstants.AuthTypes type : HiveAuthConstants.AuthTypes.values()) {
      testSingleAuth(type);
    }
  }
Tests to test if AuthType can parse allowed values and reject disallowed combinations.
service/src/test/org/apache/hive/service/auth/TestAuthType.java