mailgun-php/tests/Mailgun/Tests/Connection/ConnectionTest.php

19 lines
425 B
PHP
Raw Normal View History

2013-07-23 09:11:01 +04:00
<?PHP
namespace Mailgun\Tests\Connection;
2013-07-25 03:25:24 +04:00
use Mailgun\Tests\MailgunClientTest;
2013-07-23 09:11:01 +04:00
class ConnectionTest extends \Mailgun\Tests\MailgunTestCase{
private $client;
2013-07-23 09:11:01 +04:00
public function setUp(){
2013-07-25 03:25:24 +04:00
$this->client = new MailgunClientTest("My-Super-Awesome-API-Key", "samples.mailgun.org", false);
2013-07-23 09:11:01 +04:00
}
public function testNewClientConnection(){
$result = $this->client->validateCredentials();
2013-07-23 09:11:01 +04:00
$this->assertTrue($result);
}
}
?>