mailgun-php/tests/Api/EventTest.php

23 lines
386 B
PHP
Raw Normal View History

2018-08-05 01:45:03 +03:00
<?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');
}
}