mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 04:56:02 +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');
|
|
}
|
|
}
|