use Symfony\Component\Mailer\Transport\Smtp\EsmtpTransportFactory;
/**
* @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) );