Completed
Branch master (c4b56e)
by Andrey
03:02 queued 01:04
created

EventTest::testEventCantCreateNotWithAString()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
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