api/symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridSignedRequestParserTest.yaml

45 lines
1.7 KiB
YAML
Raw Normal View History

2024-09-26 09:03:21 +00:00
name: SendgridSignedRequestParserTest
class_comment: '# * @author WoutervanderLoop.nl <info@woutervanderloop.nl>
# *
# * @requires extension openssl'
dependencies:
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: SendgridPayloadConverter
type: class
source: Symfony\Component\Mailer\Bridge\Sendgrid\RemoteEvent\SendgridPayloadConverter
- name: SendgridRequestParser
type: class
source: Symfony\Component\Mailer\Bridge\Sendgrid\Webhook\SendgridRequestParser
- name: RequestParserInterface
type: class
source: Symfony\Component\Webhook\Client\RequestParserInterface
- name: AbstractRequestParserTestCase
type: class
source: Symfony\Component\Webhook\Test\AbstractRequestParserTestCase
properties: []
methods:
- name: createRequest
visibility: protected
parameters:
- name: payload
comment: "# * @author WoutervanderLoop.nl <info@woutervanderloop.nl>\n# *\n# * @requires\
\ extension openssl\n# */\n# class SendgridSignedRequestParserTest extends AbstractRequestParserTestCase\n\
# {\n# protected function createRequestParser(): RequestParserInterface\n# {\n\
# return new SendgridRequestParser(new SendgridPayloadConverter(), true);\n# }\n\
# \n# /**\n# * @see https://github.com/sendgrid/sendgrid-php/blob/9335dca98bc64456a72db73469d1dd67db72f6ea/test/unit/EventWebhookTest.php#L20"
- name: getSecret
visibility: protected
parameters: []
comment: null
traits:
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\Mailer\Bridge\Sendgrid\RemoteEvent\SendgridPayloadConverter
- Symfony\Component\Mailer\Bridge\Sendgrid\Webhook\SendgridRequestParser
- Symfony\Component\Webhook\Client\RequestParserInterface
- Symfony\Component\Webhook\Test\AbstractRequestParserTestCase
interfaces: []