def METHOD_NAME(fake_hsm, conn_type, connections):
    fake_hsm.connectStorageServer(conn_type, 'SPUID', connections)
    sc = storageServer.ConnectionFactory.connections
    for con in connections:
        assert sc[con["id"]].connected