Emarref\Jwt\Encryption\SymmetricTest::setUp PHP Метод

setUp() публичный Метод

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