Lcobucci\JWT\Claim\BasicTest::constructorShouldConfigureTheAttributes PHP Method

constructorShouldConfigureTheAttributes() public method

    public function constructorShouldConfigureTheAttributes()
    {
        $claim = new Basic('test', 1);
        self::assertAttributeEquals('test', 'name', $claim);
        self::assertAttributeEquals(1, 'value', $claim);
    }