@@ 18-24 (lines=7) @@ | ||
15 | $this->assertNotEmpty($webhooks->getWebhooks()); |
|
16 | } |
|
17 | ||
18 | public function testGetWebhookPagination() |
|
19 | { |
|
20 | $this->mockHttpSession($this->body_list_webhook_pagination); |
|
21 | $webhooks = $this->moip->webhooks()->get(new Pagination(100, 0)); |
|
22 | ||
23 | $this->assertNotEmpty($webhooks->getWebhooks()); |
|
24 | } |
|
25 | ||
26 | public function testGetWebhookParams() |
|
27 | { |
|
@@ 26-32 (lines=7) @@ | ||
23 | $this->assertNotEmpty($webhooks->getWebhooks()); |
|
24 | } |
|
25 | ||
26 | public function testGetWebhookParams() |
|
27 | { |
|
28 | $this->mockHttpSession($this->body_list_webhook_all_filters); |
|
29 | $webhooks = $this->moip->webhooks()->get(new Pagination(10, 0), 'ORD-EE5XP23RMLSS', 'ORDER.PAID'); |
|
30 | ||
31 | $this->assertNotEmpty($webhooks->getWebhooks()); |
|
32 | } |
|
33 | } |
|
34 |