assertEquals([DiscordChannel::class], $notification->via(new AnonymousNotifiable())); }); test('to discord message', function () { $message = DiscordMessage::create(); $notification = new DiscordNotification($message); $this->assertInstanceOf(DiscordMessage::class, $notification->toDiscord(new AnonymousNotifiable())); });