PhilipBrown\Signature\Tests\AuthTest::should_throw_exception_on_invalid_key PHP Method

should_throw_exception_on_invalid_key() public method

    public function should_throw_exception_on_invalid_key()
    {
        $this->setExpectedException('PhilipBrown\\Signature\\Exceptions\\SignatureKeyException');
        $this->params['auth_key'] = 'edf456';
        $auth = new Auth('POST', 'users', $this->params, [new CheckKey()]);
        $auth->attempt($this->token);
    }