/** * @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')); }