function testConnect_authorize()
 {
     $this->TestComponent->controller->params['named']['authorize'] = 'true';
     $this->TestComponent->connect();
     $this->assertPattern('!https://api\\.twitter\\.com/oauth/authorize\\?oauth_token=.+!', $this->TestComponent->controller->redirectUrl);
 }