mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-26 14:56:03 +03:00
23 lines
386 B
PHP
23 lines
386 B
PHP
|
<?php
|
||
|
|
||
|
namespace Mailgun\Tests\Api;
|
||
|
|
||
|
use Mailgun\Api\Event;
|
||
|
|
||
|
class EventTest extends TestCase
|
||
|
{
|
||
|
protected function getApiClass()
|
||
|
{
|
||
|
return Event::class;
|
||
|
}
|
||
|
|
||
|
public function testGet()
|
||
|
{
|
||
|
$this->setRequestMethod('GET');
|
||
|
$this->setRequestUri('/v3/example.com/events');
|
||
|
|
||
|
$api = $this->getApiMock();
|
||
|
$api->get('example.com');
|
||
|
}
|
||
|
}
|