mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-30 08:56:07 +03:00
17 lines
419 B
PHP
17 lines
419 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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|