WorkerStoppingEventTest::testEvent()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace SfCod\QueueBundle\Tests\Event;
4
5
use PHPUnit\Framework\TestCase;
6
use SfCod\QueueBundle\Event\WorkerStoppingEvent;
7
use Symfony\Contracts\EventDispatcher\Event;
8
9
/**
10
 * Class WorkerStoppingEventTest
11
 *
12
 * @author Virchenko Maksim <[email protected]>
13
 *
14
 * @package SfCod\QueueBundle\Tests\Event
15
 */
16
class WorkerStoppingEventTest extends TestCase
17
{
18
    /**
19
     * Test event
20
     */
21
    public function testEvent()
22
    {
23
        $event = new WorkerStoppingEvent();
24
25
        self::assertInstanceOf(Event::class, $event);
26
    }
27
}
28