use Symfony\Component\Mailer\Transport\SendmailTransport;
use Symfony\Component\Mailer\Transport\Smtp\SmtpTransport;
use Symfony\Component\Mailer\Transport\Smtp\Stream\SocketStream;
use Symfony\Component\Mailer\Transport\TransportInterface;
final class NativeTransportFactoryTest extends TestCase
{ public static array
$fakeConfiguration =
[];
public static function setUpBeforeClass(): void
{ parent::
setUpBeforeClass();
$namespace =
str_replace('\\Tests\\', '\\', __NAMESPACE__
);
$current =
static::
class;
$eval = <<<EOT
namespace
$namespace;
function ini_get(\$key)
{
\$vals = \\
$current::\$fakeConfiguration;
return \$vals[\$key] ?? '';
}