mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-25 00:04:33 +02:00
27 lines
516 B
PHP
27 lines
516 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Unit\Events;
|
|
|
|
use App\Contracts\Events\NotifiesUsersEvent;
|
|
use App\Listeners\NotifiesUsers;
|
|
use Illuminate\Support\Facades\Event;
|
|
use Tests\TestCase;
|
|
|
|
/**
|
|
* Class NotifiesUsersTest.
|
|
*/
|
|
class NotifiesUsersTest extends TestCase
|
|
{
|
|
/**
|
|
* NotifiesUsers shall listen to NotifiesUsersEvent.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function testListening(): void
|
|
{
|
|
Event::assertListening(NotifiesUsersEvent::class, NotifiesUsers::class);
|
|
}
|
|
}
|