namespace Symfony\Component\Notifier\Bridge\Bandwidth\Tests;
use Symfony\Component\Notifier\Bridge\Bandwidth\BandwidthTransportFactory;
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;
final class BandwidthTransportFactoryTest extends TransportFactoryTestCase
{ public function createFactory(): BandwidthTransportFactory
{ return new BandwidthTransportFactory();
} public static function createProvider(): iterable
{ yield ['bandwidth://host.test?from=0611223344&account_id=account_id&application_id=application_id&priority=priority', 'bandwidth://username:
[email protected]?from=0611223344&account_id=account_id&application_id=application_id&priority=priority'
];
yield ['bandwidth://host.test?from=0611223344&account_id=account_id&application_id=application_id', 'bandwidth://username:
[email protected]?from=0611223344&account_id=account_id&application_id=application_id'
];
} public static function incompleteDsnProvider(): iterable
{ yield 'missing password' =>
['bandwidth://username@default?account_id=account_id&application_id=application_id&priority=priority'
];
}