MissingBookingsNotificationTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetters() 0 8 1
1
<?php
2
3
namespace JhFlexiTime\Notification;
4
5
use PHPUnit_Framework_TestCase;
6
7
/**
8
 * Class MissingBookingsNotificationTest
9
 * @package JhFlexiTime\Notification
10
 * @author Aydin Hassan <[email protected]>
11
 */
12
class MissingBookingsNotificationTest extends PHPUnit_Framework_TestCase
13
{
14
    public function testGetters()
15
    {
16
        $event = new MissingBookingsNotification([], []);
17
18
        $this->assertSame('missing-bookings', $event->getName());
19
        $this->assertSame([], $event->getPeriod());
20
        $this->assertSame([], $event->getMissingBookings());
21
    }
22
}
23