         let logoutStubUnauthenticated = ServiceStub(execute: ServiceStubRequest(path: "/oauth2/invalidate_token"),
                                                     with: .failure(code:401, response:[:]), when: .unauthenticated)
         let logoutStubAuthenticated = ServiceStub(execute: ServiceStubRequest(path: "/oauth2/invalidate_token"),
-                                                  with: .failure(code:401, response:[:]), when: .authenticated)
+                                                  with: .failure(code:401, response:[:]),
+                                                  when: .authenticated(tokenInfo: ["token_type" : "access", "access_token" : "KWALI"]))
         
         beforeEach {
             ServiceLocator.defaultNetworkClientType = StubNetworkManager.self            

        describe("when the current user is already authenticated") {
            context("and is trying to logout") {
                it("should clear token data") {
                    let authenticationService = ServiceLocator.service(forType: TwitterAuthenticationService.self)
                    authenticationService?.stubbed = [logoutStub]
                    authenticationService?.logoutTwitterClient(completion: { loggedOut in
                        expect(loggedOut).to(beTrue())
                    })

                
                it("should be authenticated") {
                    
                    let authenticationService = ServiceLocator.service(forType: TwitterAuthenticationService.self, stubs: [authStub])
                    authenticationService?.authenticateTwitterClient(completion: { authenticated in
                        expect(authenticated).to(beTrue())
                    })
