### Question:
ExampleMetadataHandler extends MetadataHandler { @Override public ListSchemasResponse doListSchemaNames(BlockAllocator allocator, ListSchemasRequest request) { logger.info("doListSchemaNames: enter - " + request); Set<String> schemas = new HashSet<>(); return new ListSchemasResponse(request.getCatalogName(), schemas); } ExampleMetadataHandler(); @VisibleForTesting protected  ExampleMetadataHandler(EncryptionKeyFactory keyFactory,
            AWSSecretsManager awsSecretsManager,
            AmazonAthena athena,
            String spillBucket,
            String spillPrefix); @Override ListSchemasResponse doListSchemaNames(BlockAllocator allocator, ListSchemasRequest request); @Override ListTablesResponse doListTables(BlockAllocator allocator, ListTablesRequest request); @Override GetTableResponse doGetTable(BlockAllocator allocator, GetTableRequest request); @Override void getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker); @Override GetSplitsResponse doGetSplits(BlockAllocator allocator, GetSplitsRequest request);  }### Answer:
@Test public void doListSchemaNames() { if (!enableTests) { logger.info("doListSchemaNames: Tests are disabled, to enable them set the 'publishing' environment variable " + "using maven clean install -Dpublishing=true"); return; } logger.info("doListSchemas - enter"); ListSchemasRequest req = new ListSchemasRequest(fakeIdentity(), "queryId", "default"); ListSchemasResponse res = handler.doListSchemaNames(allocator, req); logger.info("doListSchemas - {}", res.getSchemas()); assertFalse(res.getSchemas().isEmpty()); logger.info("doListSchemas - exit"); }