Skip to content

Commit 73a004b

Browse files
committed
Add test
1 parent 8675523 commit 73a004b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/Notifier/Bridge/Clickatell/Tests/ClickatellTransportTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Notifier\Bridge\Clickatell\Tests;
1313

1414
use Symfony\Component\HttpClient\MockHttpClient;
15+
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellOptions;
1516
use Symfony\Component\Notifier\Bridge\Clickatell\ClickatellTransport;
1617
use Symfony\Component\Notifier\Exception\LogicException;
1718
use Symfony\Component\Notifier\Exception\TransportException;
@@ -38,6 +39,7 @@ public function toStringProvider(): iterable
3839
public function supportedMessagesProvider(): iterable
3940
{
4041
yield [new SmsMessage('+33612345678', 'Hello!')];
42+
yield [new SmsMessage('+33612345678', 'Hello!', 'from', new ClickatellOptions(['from' => 'foo']))];
4143
}
4244

4345
public function unsupportedMessagesProvider(): iterable

0 commit comments

Comments
 (0)