PHP Class Lcobucci\JWT\Signer\HmacTest

Since: 0.1.0
Author: Luís Otávio Cobucci Oblonczyk ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: lcobucci/jwt

Protected Properties

Property Type Description
$signer Lcobucci\JWT\Signer\Hmac | PHPUnit_Framework_MockObject_MockObject

Public Methods

Method Description
createHashMustReturnAHashAccordingWithTheAlgorithm ( ) : string
doVerifyShouldReturnFalseWhenExpectedHashWasNotCreatedWithSameInformation ( $expected )
doVerifyShouldReturnTrueWhenExpectedHashWasCreatedWithSameInformation ( string $expected )
initializeDependencies ( )

Method Details

createHashMustReturnAHashAccordingWithTheAlgorithm() public method

doVerifyShouldReturnFalseWhenExpectedHashWasNotCreatedWithSameInformation() public method

doVerifyShouldReturnTrueWhenExpectedHashWasCreatedWithSameInformation() public method

initializeDependencies() public method

Property Details

$signer protected_oe property

protected Hmac,Lcobucci\JWT\Signer|PHPUnit_Framework_MockObject_MockObject $signer
return Lcobucci\JWT\Signer\Hmac | PHPUnit_Framework_MockObject_MockObject