Emarref\Jwt\Verification\EncryptionVerifierTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->header = $this->getMockBuilder('Emarref\\Jwt\\Token\\Header')->getMock();
        $this->token = $this->getMockBuilder('Emarref\\Jwt\\Token')->getMock();
        $this->token->expects($this->any())->method('getHeader')->will($this->returnValue($this->header));
        $this->algorithm = $this->getMockBuilder('Emarref\\Jwt\\Algorithm\\None')->getMock();
        $this->encryption = $this->getMockBuilder('Emarref\\Jwt\\Encryption\\Symmetric')->setConstructorArgs([$this->algorithm])->getMock();
        $this->encoder = $this->getMockBuilder('Emarref\\Jwt\\Encoding\\Base64')->getMock();
        $this->signer = $this->getMockBuilder('Emarref\\Jwt\\Signature\\Jws')->disableOriginalConstructor()->getMock();
    }