Ejemplo n.º 1
0
 public function testIsValidDetectsGoodResponse()
 {
     $body = 'oauth_token=jZaee4GF52O3lUb9&oauth_token_secret=J4Ms4n8sxjYc0A8K0KOQFCTL0EwUQTri';
     $response = new Zend_Http_Response(200, array(), $body);
     $token = new Zend_Oauth_Token_Access($response);
     $this->assertTrue($token->isValid());
 }