@Override
    public List<String> filterPartitionNames(String catName, String dbName, String tblName,
        List<String> partitionNames) throws MetaException {
      if (blockResults) {
        return new ArrayList<>();
      }
      return partitionNames;
    }
Test the filtering behavior at HMS client and HMS server. The configuration at each test
changes, and therefore HMS client and server are created for each test case
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/TestFilterHooks.java