/
home
/
sjslayjy
/
public_html
/
theweavenest
/
vendor
/
symfony
/
mailer
/
Tests
/
Transport
/
Upload File
HOME
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Mailer\Tests\Transport; use Psr\Log\NullLogger; use Symfony\Component\HttpClient\MockHttpClient; use Symfony\Component\Mailer\Test\TransportFactoryTestCase; use Symfony\Component\Mailer\Transport\Dsn; use Symfony\Component\Mailer\Transport\NullTransport; use Symfony\Component\Mailer\Transport\NullTransportFactory; use Symfony\Component\Mailer\Transport\TransportFactoryInterface; class NullTransportFactoryTest extends TransportFactoryTestCase { public function getFactory(): TransportFactoryInterface { return new NullTransportFactory(null, new MockHttpClient(), new NullLogger()); } public static function supportsProvider(): iterable { yield [ new Dsn('null', ''), true, ]; } public static function createProvider(): iterable { yield [ new Dsn('null', 'null'), new NullTransport(null, new NullLogger()), ]; } }