Example #1
0
 /**
  * @covers OAuth\Common\Storage\File::__construct
  * @covers OAuth\Common\Storage\File::retrieveAccessToken
  * @covers OAuth\Common\Storage\File::hasAccessToken
  */
 public function testRetrieveAccessTokenThrowsExceptionWhenTokenIsNotFound()
 {
     $this->setExpectedException('\\OAuth\\Common\\Storage\\Exception\\TokenNotFoundException');
     $storage = new File($this->getFilePath());
     $storage->retrieveAccessToken('foo');
 }