### Question:
CatalogStorage extends Configured implements Storage { @Override public TYPE getType() { return TYPE.TABLE; } protected  CatalogStorage(Feed feed);  CatalogStorage(Cluster cluster, CatalogTable table); protected  CatalogStorage(String catalogUrl, CatalogTable table); protected  CatalogStorage(String catalogUrl, String tableUri); protected  CatalogStorage(String uriTemplate); protected  CatalogStorage(String uriTemplate, Configuration conf); String getCatalogUrl(); String getDatabase(); String getTable(); Map<String, String> getPartitions(); String getPartitionValue(String key); boolean hasPartition(String key); List<String> getDatedPartitionKeys(); String toPartitionFilter(); String toPartitionAsPath(); @Override TYPE getType(); @Override String getUriTemplate(); @Override String getUriTemplate(LocationType locationType); @Override boolean isIdentical(Storage toCompareAgainst); @Override void validateACL(AccessControlList acl); @Override List<FeedInstanceStatus> getListing(Feed feed, String clusterName, LocationType locationType,
                                               Date start, Date end); @Override FeedInstanceStatus.AvailabilityStatus getInstanceAvailabilityStatus(Feed feed, String clusterName,
                                         LocationType locationType, Date instanceTime); @Override StringBuilder evict(String retentionLimit, String timeZone, Path logFilePath); @Override String toString(); static final String PARTITION_SEPARATOR; static final String PARTITION_KEYVAL_SEPARATOR; static final String INPUT_PATH_SEPARATOR; static final String OUTPUT_PATH_SEPARATOR; static final String PARTITION_VALUE_QUOTE; static final String CATALOG_URL; }### Answer:
@Test public void testGetType() throws Exception { String table = "catalog:clicksdb:clicks#ds=${YEAR}-${MONTH}-${DAY};region=us"; CatalogStorage storage = new CatalogStorage(CatalogStorage.CATALOG_URL, table); Assert.assertEquals(Storage.TYPE.TABLE, storage.getType()); Assert.assertNotNull(storage.getConf()); }