Completed
Push — master ( 008bc0...0640ce )
by
unknown
46:22 queued 05:29
created

WorkerStoppingEventTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testEvent() 0 6 1
1
<?php
2
3
namespace SfCod\QueueBundle\Tests\Event;
4
5
use PHPUnit\Framework\TestCase;
6
use SfCod\QueueBundle\Event\WorkerStoppingEvent;
7
use Symfony\Component\EventDispatcher\Event;
8
9
/**
10
 * Class WorkerStoppingEventTest
11
 * @author Virchenko Maksim <[email protected]>
12
 * @package SfCod\QueueBundle\Tests\Event
13
 */
14
class WorkerStoppingEventTest extends TestCase
15
{
16
    public function testEvent()
17
    {
18
        $event = new WorkerStoppingEvent();
19
20
        $this->assertInstanceOf(Event::class, $event);
21
    }
22
}