Lcobucci\JWT\FunctionalTests\RsaTokenTest::builderShouldRaiseExceptionWhenKeyIsInvalid PHP Метод

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

    public function builderShouldRaiseExceptionWhenKeyIsInvalid()
    {
        $builder = $this->config->createBuilder();
        $builder->identifiedBy('1')->canOnlyBeUsedBy('http://client.abc.com')->issuedBy('http://api.abc.com')->with('user', ['name' => 'testing', 'email' => '[email protected]'])->sign($this->config->getSigner(), new Key('testing'));
    }