Completed
Push — master ( 1f0278...22c246 )
by
unknown
12s
created

testShouldGetNotificationsList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 8
rs 9.4285
1
<?php
2
3
namespace Moip\Tests\Resource;
4
5
use Moip\Tests\TestCase;
6
7
class NotificationPreferencesListTest extends TestCase
8
{
9
    public function testShouldGetNotificationsList()
10
    {
11
        $this->mockHttpSession($this->body_notification_list);
12
13
        $notifications = $this->moip->notifications()->getList();
14
15
        $this->assertNotNull($notifications->getNotifications());
16
    }
17
}
18