### Question:
AwsCmdbMetadataHandler extends MetadataHandler { @Override public GetSplitsResponse doGetSplits(BlockAllocator blockAllocator, GetSplitsRequest getSplitsRequest) { TableProvider tableProvider = tableProviders.get(getSplitsRequest.getTableName()); if (tableProvider == null) { throw new RuntimeException("Unknown table " + getSplitsRequest.getTableName()); } SpillLocation spillLocation = makeSpillLocation(getSplitsRequest); EncryptionKey encryptionKey = makeEncryptionKey(); Split split = Split.newBuilder(spillLocation, encryptionKey).build(); return new GetSplitsResponse(getSplitsRequest.getCatalogName(), split); } AwsCmdbMetadataHandler(); @VisibleForTesting protected  AwsCmdbMetadataHandler(TableProviderFactory tableProviderFactory,
            EncryptionKeyFactory keyFactory,
            AWSSecretsManager secretsManager,
            AmazonAthena athena,
            String spillBucket,
            String spillPrefix); @Override ListSchemasResponse doListSchemaNames(BlockAllocator blockAllocator, ListSchemasRequest listSchemasRequest); @Override ListTablesResponse doListTables(BlockAllocator blockAllocator, ListTablesRequest listTablesRequest); @Override GetTableResponse doGetTable(BlockAllocator blockAllocator, GetTableRequest getTableRequest); @Override void enhancePartitionSchema(SchemaBuilder partitionSchemaBuilder, GetTableLayoutRequest request); @Override void getPartitions(BlockWriter blockWriter, GetTableLayoutRequest request, QueryStatusChecker queryStatusChecker); @Override GetSplitsResponse doGetSplits(BlockAllocator blockAllocator, GetSplitsRequest getSplitsRequest);  }### Answer:
@Test public void doGetSplits() { GetSplitsRequest request = new GetSplitsRequest(identity, queryId, catalog, new TableName("schema1", "table1"), mockBlock, Collections.emptyList(), new Constraints(new HashMap<>()), null); GetSplitsResponse response = handler.doGetSplits(blockAllocator, request); assertNotNull(response); }