/**
* @internal
*
* @covers \Shopware\Core\Content\Mail\Service\MailerTransportLoader
*/
class MailerTransportLoaderTest extends TestCase
{ public function testUseSymfonyTransportDefault(): void
{ $transport =
$this->
getTransportFactory();
$loader =
new MailerTransportLoader( $transport,
new StaticSystemConfigService([ 'core.mailerSettings.emailAgent' => '',
]),
$this->
createMock(MailAttachmentsBuilder::
class),
$this->
createMock(FilesystemOperator::
class),
$this->
createMock(EntityRepository::
class) );
$trans =
$loader->
fromString('smtp://localhost:25'
);