Emarref\Jwt\Encryption\SymmetricTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        $this->algorithm = $this->getMockBuilder('Emarref\\Jwt\\Algorithm\\Hs256')->setConstructorArgs(['secret'])->getMock();
        $this->encryption = new Symmetric($this->algorithm);
    }