use Symfony\Component\Notifier\Message\SmsMessage;
use Symfony\Component\Notifier\Test\TransportTestCase;
use Symfony\Component\Notifier\Tests\Transport\DummyMessage;
use Symfony\Component\Notifier\Transport\TransportInterface;
use Symfony\Contracts\HttpClient\HttpClientInterface;
use Symfony\Contracts\HttpClient\ResponseInterface;
class NovuTransportTest extends TransportTestCase
{ public static function createTransport(HttpClientInterface
$client = null
): TransportInterface
{ return (new NovuTransport('9c9ced75881ddc65c033273f466b42d1',
$client ??
new MockHttpClient()))->
setHost('host.test'
);
} public static function toStringProvider(): iterable
{ yield ['novu://host.test', self::
createTransport()];
} public static function supportedMessagesProvider(): iterable
{ yield [new PushMessage('test', '{}',
new NovuOptions(123, null, null, 'test@example.com', null, null, null,
[]))];
}