Psecio\Jwt\HeaderTest::testGetSetAlgorithmNoResolve PHP Method

testGetSetAlgorithmNoResolve() public method

Test that the same algorithm string is returned when no resolution is requested
    public function testGetSetAlgorithmNoResolve()
    {
        $algorithm = 'H256';
        $header = new Header('testkey', $algorithm);
        $this->assertEquals($header->getAlgorithm(false), $algorithm);
    }