     init (transactionBlobs: [System.TransactionBlob]) {
         self.transactionBlobs = transactionBlobs
     }
+
+    var migratedFailed = false
 
     func handleSystemEvent(system: System, event: SystemEvent) {
         switch event {


                // Migrate
                if (system.migrateRequired(network: network)) {
                    try! system.migrateStorage (network: network,
                                                transactionBlobs: transactionBlobs,
                                                blockBlobs: [],
                                                peerBlobs: [])
                }

                // Wallet Manager

                                    query: migrateQuery)

        // transfers annonced on `configure`
        migrateListener.transferCount = transferBlobs.count
        migrateSystem.configure()
        wait (for: [migrateListener.migratedManagerExpectation], timeout: 30)
        wait (for: [migrateListener.transferExpectation], timeout: 30)
        XCTAssertFalse (migrateListener.migratedFailed)

        // Get the transfers from the migratedManager's primary wallet.
        let migratedTransfers = migrateListener.migratedManager.primaryWallet.transfers
