Completed
Push — master ( 5bf969...c4b56e )
by Andrey
02:02
created

EventTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testEventCantCreateNotWithAString() 0 8 1
1
<?php
2
3
namespace Event\Tests;
4
5
use PHPUnit\Framework\TestCase;
6
use Event\Event;
7
8
final class EventTest extends TestCase
9
{
10
    public function testEventCantCreateNotWithAString()
11
    {
12
        $eventName = 2;
13
14
        $event = new Event($eventName);
15
16
        $this->assertEmpty($event);
17
    }
18
19
20
}
21