mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-23 13:06:02 +03:00
3af838f2c8
Created a Mocks directory to seperate mocks from classes. I moved Mailgun\Tests\MailGunTest to Mailgun\Test\Mocks\Mailgun. As it's not a test it's a mock. So shouldn't be suffixed with Test. I mocked Mailgun\Tests\Connection\TestBroker to Mailgun\Tests\Mocks\Connection\TestBroker as it's a mock and should be with other mocks.
17 lines
332 B
PHP
17 lines
332 B
PHP
<?PHP
|
|
namespace Mailgun\Tests\Connection;
|
|
|
|
use Mailgun\Tests\Mock\Mailgun;
|
|
|
|
class ConnectionTest extends \Mailgun\Tests\MailgunTestCase{
|
|
|
|
private $client;
|
|
|
|
public function setUp(){
|
|
}
|
|
public function testNewClientInstantiation(){
|
|
$this->client = new Mailgun("My-Super-Awesome-API-Key", "samples.mailgun.org", false);
|
|
}
|
|
}
|
|
|
|
?>
|