MissingBookingsNotificationTest::testGetters()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

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