private static void shutdownAndAssertStoresInaccessible(StorageManager storageManager, List<ReplicaId> replicas)
      throws InterruptedException {
    storageManager.shutdown();
    for (ReplicaId replica : replicas) {
      assertNull(storageManager.getStore(replica.getPartitionId(), false));
    }
  }
Shutdown a {@link StorageManager} and assert that the stores cannot be accessed for the provided replicas.
@param storageManager the {@link StorageManager} to shutdown.
@param replicas the {@link ReplicaId}s to check for store inaccessibility.
@throws InterruptedException
ambry-store/src/test/java/com/github/ambry/store/StorageManagerTest.java