AmazonSnsTransportFactory example



namespace Symfony\Component\Notifier\Bridge\AmazonSns\Tests;

use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsTransportFactory;
use Symfony\Component\Notifier\Test\TransportFactoryTestCase;

class AmazonSnsTransportFactoryTest extends TransportFactoryTestCase
{
    public function createFactory(): AmazonSnsTransportFactory
    {
        return new AmazonSnsTransportFactory();
    }

    public static function createProvider(): iterable
    {
        yield ['sns://host.test?region=us-east-1', 'sns://host.test'];
        yield ['sns://host.test?region=us-east-1', 'sns://accessId:[email protected]'];
        yield ['sns://host.test?region=eu-west-3', 'sns://host.test?region=eu-west-3'];
    }

    public static function supportsProvider(): iterable
    {
        
Home | Imprint | This part of the site doesn't use cookies.