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

testShouldGetBankAccountList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 5
nc 1
nop 0
dl 0
loc 10
rs 9.4285
c 1
b 0
f 0
1
<?php
2
3
namespace Moip\Tests\Resource;
4
5
use Moip\Tests\TestCase;
6
7
class BankAccountListTest extends TestCase
8
{
9
    public function testShouldGetBankAccountList()
10
    {
11
        $this->mockHttpSession($this->body_bank_account_list);
12
13
        $account_id = 'MPA-3C5358FF2296';
14
15
        $bank_accounts = $this->moip->bankaccount()->getList($account_id);
16
17
        $this->assertNotNull($bank_accounts->getBankAccounts());
18
    }
19
}
20