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

NotificationPreferencesListTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testShouldGetNotificationsList() 0 8 1
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