api/symfony/Component/Mailer/Tests/Transport/NativeTransportFactoryTest.yaml
2024-09-26 02:03:21 -07:00

76 lines
2.1 KiB
YAML

name: NativeTransportFactoryTest
class_comment: null
dependencies:
- name: TestCase
type: class
source: PHPUnit\Framework\TestCase
- name: UnsupportedSchemeException
type: class
source: Symfony\Component\Mailer\Exception\UnsupportedSchemeException
- name: Dsn
type: class
source: Symfony\Component\Mailer\Transport\Dsn
- name: NativeTransportFactory
type: class
source: Symfony\Component\Mailer\Transport\NativeTransportFactory
- name: SendmailTransport
type: class
source: Symfony\Component\Mailer\Transport\SendmailTransport
- name: SmtpTransport
type: class
source: Symfony\Component\Mailer\Transport\Smtp\SmtpTransport
- name: SocketStream
type: class
source: Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream
- name: TransportInterface
type: class
source: Symfony\Component\Mailer\Transport\TransportInterface
properties: []
methods:
- name: setUpBeforeClass
visibility: public
parameters: []
comment: null
- name: testCreateWithNotSupportedScheme
visibility: public
parameters: []
comment: null
- name: testCreateSendmailWithNoSendmailPath
visibility: public
parameters: []
comment: null
- name: provideCreateSendmailWithNoHostOrNoPort
visibility: public
parameters: []
comment: null
- name: testCreateSendmailWithNoHostOrNoPort
visibility: public
parameters:
- name: dsn
- name: sendmaiPath
- name: smtp
- name: smtpPort
comment: '# * @dataProvider provideCreateSendmailWithNoHostOrNoPort'
- name: provideCreate
visibility: public
parameters: []
comment: null
- name: testCreate
visibility: public
parameters:
- name: dsn
- name: sendmailPath
- name: smtp
- name: smtpPort
- name: expectedTransport
comment: '# * @dataProvider provideCreate'
traits:
- PHPUnit\Framework\TestCase
- Symfony\Component\Mailer\Exception\UnsupportedSchemeException
- Symfony\Component\Mailer\Transport\Dsn
- Symfony\Component\Mailer\Transport\NativeTransportFactory
- Symfony\Component\Mailer\Transport\SendmailTransport
- Symfony\Component\Mailer\Transport\Smtp\SmtpTransport
- Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream
- Symfony\Component\Mailer\Transport\TransportInterface
interfaces: []