Lcobucci\JWT\Signer\KeyTest::constructShouldConfigureContentAndPassphrase PHP Method

constructShouldConfigureContentAndPassphrase() public method

    public function constructShouldConfigureContentAndPassphrase()
    {
        $key = new Key('testing', 'test');
        self::assertAttributeEquals('testing', 'content', $key);
        self::assertAttributeEquals('test', 'passphrase', $key);
    }