Emarref\Jwt\Signature\JwsTest::setUp PHP Метод

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

public setUp ( )
    public function setUp()
    {
        $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 = new Jws($this->encryption, $this->encoder);
    }