3 namespace Abraham\TwitterOAuth\Tests;
5 use Abraham\TwitterOAuth\HmacSha1;
7 class HmacSha1Test extends AbstractSignatureMethodTest
9 protected $name = 'HMAC-SHA1';
11 public function getClass()
13 return new HmacSha1();
16 public function signatureDataProvider()
19 ['5CoEcoq7XoKFjwYCieQvuzadeUA=', $this->getRequest(), $this->getConsumer(), $this->getToken()],
21 'EBw0gHngam3BTx8kfPfNNSyKem4=',
23 $this->getConsumer('key', 'secret'),
27 'kDsHFZzws2a5M6cAQjfpdNBo+v8=',
29 $this->getConsumer('key', 'secret'),
30 $this->getToken('key', 'secret')
32 ['EBw0gHngam3BTx8kfPfNNSyKem4=', $this->getRequest(), $this->getConsumer('key', 'secret'), null],