Lcobucci\JWT\TokenTest::validateShouldReturnTrueWhenThereAreNoValidatableClaims PHP Method

validateShouldReturnTrueWhenThereAreNoValidatableClaims() public method

    public function validateShouldReturnTrueWhenThereAreNoValidatableClaims()
    {
        $token = new Token([], ['testing' => new Basic('testing', 'test')]);
        self::assertTrue($token->validate(new ValidationData()));
    }