### Question:
ZookeeperClusterStatus extends ClusterStatus { @Override public boolean isEnabled(boolean useCache, String cluster, String table) { TableDescriptor tableDescriptor = getTableDescriptor(useCache, cluster, table); return tableDescriptor.isEnabled(); } ZookeeperClusterStatus(ZooKeeper zooKeeper, BlurConfiguration configuration, Configuration config);  ZookeeperClusterStatus(String connectionStr, BlurConfiguration configuration, Configuration config);  ZookeeperClusterStatus(ZooKeeper zooKeeper);  ZookeeperClusterStatus(String connectionStr); @Override List<String> getClusterList(boolean useCache); @Override List<String> getOnlineControllerList(); @Override List<String> getControllerServerList(); @Override List<String> getOnlineShardServers(boolean useCache, String cluster); @Override List<String> getShardServerList(String cluster); @Override boolean exists(boolean useCache, String cluster, String table); @Override boolean isEnabled(boolean useCache, String cluster, String table); @Override TableDescriptor getTableDescriptor(boolean useCache, String cluster, String table); @Override List<String> getTableList(boolean useCache, String cluster); void close(); @Override String getCluster(boolean useCache, String table); @Override boolean isInSafeMode(boolean useCache, String cluster); @Override boolean isReadOnly(boolean useCache, String cluster, String table); @Override void createTable(TableDescriptor tableDescriptor); @Override void disableTable(String cluster, String table); @Override void enableTable(String cluster, String table); @Override void removeTable(String cluster, String table, boolean deleteIndexFiles); @Override boolean isOpen(); @Override void registerActionOnTableStateChange(Action action); static final String CACHE; static final String COMPLETE; static final String INPROGRESS; static final String NEW; }### Answer:
@Test public void testIsEnabledNoTable() { try { clusterStatus1.isEnabled(false, DEFAULT, "notable"); fail("should throw exception."); } catch (RuntimeException e) { } try { clusterStatus1.isEnabled(true, DEFAULT, "notable"); fail("should throw exception."); } catch (RuntimeException e) { } }