-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathInstitutionsServiceTest.php
54 lines (47 loc) · 1.26 KB
/
InstitutionsServiceTest.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
use OldTimeGuitarGuy\Plaid\Contracts\Http\Response;
class InstitutionsServiceTest extends ServiceTest
{
public function testGetAllInstitutions()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->get()
);
}
public function testGetInstitutionByType()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->get('wells')
);
}
public function testGetInstitutionById()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->get('5301aa096b3f822b440001cb')
);
}
public function testSearchInstitutions()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->search('wells')
);
}
public function testSearchInstitutionsById()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->searchById('5301aa096b3f822b440001cb')
);
}
public function testGetLongtailInstitutions()
{
$this->assertInstanceOf(
Response::class,
$this->plaid()->institutions()->longtail()
);
}
}