         SentrySDK.currentHub().bindClient(client)
         XCTAssertNotNil(client)
         
-//        client?.transport.beforeSendRequest = { request in
-//            XCTAssertTrue(true)
-//        }
-        
         let event2 = Event(level: .debug)
         let scope = Sentry.Scope()
         scope.setExtras(["a": "b"])
         client!.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
-
-//        client!.send(event: event2, scope: scope) { (error) in
-//            XCTAssertNil(error)
-//        }
     }
     
     func testFunctionCalls() {

        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() {

        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("#####################")
