true,
];
} public static function createProvider(): iterable
{ $client =
new MockHttpClient();
$logger =
new NullLogger();
yield [ new Dsn('mandrill+api', 'default', self::USER
),
new MandrillApiTransport(self::USER,
$client, null,
$logger),
];
yield [ new Dsn('mandrill+api', 'example.com', self::USER, '', 8080
),
(new MandrillApiTransport(self::USER,
$client, null,
$logger))->
setHost('example.com'
)->
setPort(8080
),
];
yield [ new Dsn('mandrill', 'default', self::USER
),
new MandrillHttpTransport(self::USER,
$client, null,
$logger),
];