@BeforeClass
  public static void setup() throws Exception {
    isRemoteMetastoreMode = true; // remote metastore mode
    AbstractTestAuthorizationApiAuthorizer.setup();
  }
Test {@link AbstractTestAuthorizationApiAuthorizer} in remote mode of metastore
itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestAuthzApiEmbedAuthorizerInRemote.java