api/symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridUnsignedRequestParserTest.yaml
2024-09-26 02:03:21 -07:00

36 lines
1.6 KiB
YAML

name: SendgridUnsignedRequestParserTest
class_comment: '# * @author WoutervanderLoop.nl <info@woutervanderloop.nl>'
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# class\
\ SendgridUnsignedRequestParserTest extends AbstractRequestParserTestCase\n# {\n\
# protected function createRequestParser(): RequestParserInterface\n# {\n# return\
\ new SendgridRequestParser(new SendgridPayloadConverter());\n# }\n# \n# /**\n\
# * @see https://github.com/sendgrid/sendgrid-php/blob/9335dca98bc64456a72db73469d1dd67db72f6ea/test/unit/EventWebhookTest.php#L20"
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: []