Ejemplo n.º 1
0
 /**
  * @covers OAuth\OAuth2\Service\AbstractService::__construct
  * @covers OAuth\OAuth2\Service\AbstractService::isValidScope
  */
 public function testIsValidScopeFalse()
 {
     $service = new Mock($this->getMock('\\OAuth\\Common\\Consumer\\CredentialsInterface'), $this->getMock('\\Buzz\\Browser'), $this->getMock('\\OAuth\\Common\\Storage\\TokenStorageInterface'));
     $this->assertFalse($service->isValidScope('invalid'));
 }