mailgun-php/tests/Mailgun/Tests/MailgunTest.php
2014-05-14 14:06:05 +01:00

18 lines
420 B
PHP

<?PHP
namespace Mailgun\Tests\Lists;
use Mailgun\Mailgun;
class MailgunTest extends \Mailgun\Tests\MailgunTestCase
{
public function testSendMessageMissingRequiredMIMEParametersExceptionGetsFlung()
{
$this->setExpectedException("\\Mailgun\\Messages\\Exceptions\\MissingRequiredMIMEParameters");
$client = new Mailgun();
$client->sendMessage("test.mailgun.com", "etss", 1);
}
}
?>