Completed
Push — master ( 4517c4...dc88ca )
by
unknown
05:54
created

TransfersListTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 4

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testShouldGetTransfersList() 0 8 1
1
<?php
2
3
namespace Moip\Tests\Resource;
4
5
use Moip\Helper\Pagination;
6
use Moip\Tests\TestCase;
7
8
class TransfersListTest extends TestCase
9
{
10
    public function testShouldGetTransfersList()
11
    {
12
        $this->mockHttpSession($this->body_transfers_list);
13
14
        $transfers = $this->moip->transfers()->getList(new Pagination(10, 0));
15
16
        $this->assertNotNull($transfers->getTransfers());
17
    }
18
}
19