### Question:
StorageContainerStoreImpl extends AbstractLifecycleComponent<StorageConfiguration> implements StorageContainerStore { @Override public StorageContainerRegistryImpl getRegistry() { return this.scRegistry; } StorageContainerStoreImpl(StorageConfiguration conf,
                                     StorageContainerManagerFactory managerFactory,
                                     StorageContainerServiceFactory serviceFactory,
                                     StorageServerClientManager ssClientManager,
                                     StatsLogger statsLogger); @Override StorageContainerRegistryImpl getRegistry(); @Override StorageContainerRoutingService getRoutingService(); @Override Channel findChannel(ServerCall<?, ?> serverCall, Metadata headers);  }### Answer:
@Test public void testCreateNamespaceNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-create-namespace-no-root-storage-container-store"; verifyNotFoundException(fromListenableFuture( rootRangeService.createNamespace(createCreateNamespaceRequest(colName, namespaceConf))), Status.NOT_FOUND); }
@Test public void testDeleteNamespaceNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-delete-namespace-no-root-storage-container-store"; verifyNotFoundException(fromListenableFuture( rootRangeService.deleteNamespace(createDeleteNamespaceRequest(colName))), Status.NOT_FOUND); }
@Test public void testGetNamespaceNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-get-namespace-no-root-storage-container-store"; verifyNotFoundException(fromListenableFuture( rootRangeService.getNamespace(createGetNamespaceRequest(colName))), Status.NOT_FOUND); }
@Test public void testCreateStreamNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-create-namespace-no-root-storage-container-store"; String streamName = colName; verifyNotFoundException(fromListenableFuture( rootRangeService.createStream(createCreateStreamRequest(colName, streamName, DEFAULT_STREAM_CONF))), Status.NOT_FOUND); }
@Test public void testDeleteStreamNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-delete-namespace-no-root-storage-container-store"; String streamName = colName; verifyNotFoundException(fromListenableFuture( rootRangeService.deleteStream(createDeleteStreamRequest(colName, streamName))), Status.NOT_FOUND); }
@Test public void testGetStreamNoRootStorageContainerStore() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); String colName = "test-get-namespace-no-root-storage-container-store"; String streamName = colName; verifyNotFoundException(fromListenableFuture( rootRangeService.getStream(createGetStreamRequest(colName, streamName))), Status.NOT_FOUND); }
@Test public void testGetActiveRangesNoManager() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); verifyNotFoundException(fromListenableFuture( metaRangeService.getActiveRanges(createGetActiveRangesRequest(34L))), Status.NOT_FOUND); }
@Test public void testPutNoStorageContainer() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); verifyNotFoundException(fromListenableFuture( tableService.put(createPutRequest())), Status.NOT_FOUND); }
@Test public void testDeleteNoStorageContainer() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); verifyNotFoundException(fromListenableFuture( tableService.delete(createDeleteRequest())), Status.NOT_FOUND); }
@Test public void testRangeNoStorageContainer() throws Exception { rangeStore.getRegistry().stopStorageContainer(scId).join(); verifyNotFoundException(fromListenableFuture( tableService.range(createRangeRequest())), Status.NOT_FOUND); }