Emarref\Jwt\Serialization\CompactTest::setUp PHP Метод

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

public setUp ( )
    public function setUp()
    {
        $this->encoding = $this->getMockBuilder('Emarref\\Jwt\\Encoding\\Base64')->getMock();
        $this->headerParameterFactory = $this->getMockBuilder('Emarref\\Jwt\\HeaderParameter\\Factory')->getMock();
        $this->claimFactory = $this->getMockBuilder('Emarref\\Jwt\\Claim\\Factory')->getMock();
        $this->serializer = new Compact($this->encoding, $this->headerParameterFactory, $this->claimFactory);
    }