/
home
/
pay
/
server
/
vendor
/
namshi
/
jose
/
tests
/
Namshi
/
JOSE
/
Test
/
Signer
/
OpenSSL
/
File Upload :
llllll
Current File: /home/pay/server/vendor/namshi/jose/tests/Namshi/JOSE/Test/Signer/OpenSSL/NoneTest.php
<?php namespace Namshi\JOSE\Test\OpenSSL\Signer; use Namshi\JOSE\Signer\OpenSSL\None; use PHPUnit_Framework_TestCase as TestCase; class NoneTest extends TestCase { public function testVerificationWorksProperly() { $signer = new none(); $this->assertTrue($signer->verify('bar', '', 'aaa')); } public function testSigningWorksProperly() { $signer = new none(); $signature = $signer->sign('aaa', 'foo'); $this->assertTrue($signature === ''); } }
Copyright ©2k19 -
Hexid
|
Tex7ure