         let jsonString = "{ dfdjdskfkjdsfjkdjsj } "
         let jsonString2 = "werewr xcvnxnnvn 898889"
 
-        BreinRequestManager.shared.addRequest(timeStamp: 1489512440,
+        BreinRequestManager.shared.addMissedRequest(timeStamp: 1489512440,
                 fullUrl: "https://api.breinify.com/activity",
                 json: jsonString)
 
-        BreinRequestManager.shared.addRequest(timeStamp: 1489512441,
+        BreinRequestManager.shared.addMissedRequest(timeStamp: 1489512441,
                 fullUrl: "https://api.breinify.com/activity",
                 json: jsonString2)
 

        } catch {
            XCTFail("Error is: \(error.localizedDescription)")
        }
    }

    // test case how to use the activity api with secret
    func testLoginWithSecretWithoutCallbacks() {

//        let _: apiSuccess = {
//            (result: BreinResult) -> Void in
//            print("Api Success : result is: \(result)")
//        }
//
//        let _: apiFailure = {
//            (error: NSDictionary) -> Void in
//            XCTFail("Api Failure : error is: \(error)")
//        }

        // set additional user information
        breinUser.setFirstName("Fred")


        // set configuration
        Breinify.setConfig(breinConfig)
        BreinLogger.shared.setDebug(true)
    }

