         let client = Client(options: options)
         SentrySDK.currentHub().bindClient(client)
         XCTAssertNotNil(client)
-
-//        client?.transport.beforeSendRequest = { request in
-//            XCTAssertTrue(false)
-//        }
         
         let event2 = Event(level: .debug)
         let scope = Sentry.Scope()
         scope.setExtras(["a": "b"])
         client!.capture(event: event2, scope: scope)
-        //send(event: event2, scope: scope)
     }
     
     func testEnabled() {

            event.extra = ["b": "c"]
            return event
        }
        
        SentrySDK.currentHub().getClient()!.capture(event: event2, scope: scope)
        // TODO(fetzig) this thest used to have a callback
        // 1) check if we should keep/drop the callback
        // 2) update test accordingly

//        { (error) in
//            XCTAssertNil(error)
//        }
//
        //Client.logLevel = .debug
        // TODO(fetzig) reaplaced this with `bindClient:nil` but should reset scope as well. check how.
        //SentrySDK.currentHub().getClient()!.clearContext()
        SentrySDK.currentHub().bindClient(nil)
        // TODO(fetzig): check if this is the intended way to do this
//        SentrySDK.currentHub().configureScope { (scope) in
//            scope.breadcrumbs.maxBreadcrumbs = 100
//            scope.breadcrumbs.add(Breadcrumb(level: .info, category: "test"))
//        }
//        XCTAssertEqual(Client.shared?.breadcrumbs.count(), 1)
//        Client.shared?.enableAutomaticBreadcrumbTracking()
//        let user = User()
//        user.userId = "1234"
//        user.email = "hello@sentry.io"
//        user.extra = ["is_admin": true]
//        Client.shared?.user = user
//
//        Client.shared?.tags = ["iphone": "true"]
//
//        Client.shared?.clearContext()
//
//        Client.shared?.snapshotStacktrace {
//            let event = Event(level: .debug)
//            event.message = "Test Message"
//            Client.shared?.send(event: event)
//        }
//        Client.shared?.beforeSendRequest = { request in
//            request.addValue("my-token", forHTTPHeaderField: "Authorization")
//        }
    }
    
}

        let scope = Sentry.Scope()
        scope.setExtras(["ios": true])
        XCTAssertNotNil(event.serialize())
        SentrySDK.start { options in
            options.dsn = "https://username:password@app.getsentry.com/12345"
        }
        print("#####################")
