mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-24 05:26:02 +03:00
34 lines
851 B
PHP
34 lines
851 B
PHP
<?php
|
|
|
|
/*
|
|
* Copyright (C) 2013 Mailgun
|
|
*
|
|
* This software may be modified and distributed under the terms
|
|
* of the MIT license. See the LICENSE file for details.
|
|
*/
|
|
|
|
namespace Mailgun\Tests\Model\EmailValidation;
|
|
|
|
use Mailgun\Model\EmailValidation\Parts;
|
|
use Mailgun\Tests\Model\BaseModelTest;
|
|
|
|
class PartsTest extends BaseModelTest
|
|
{
|
|
public function testPartsConstructor()
|
|
{
|
|
$this->markTestIncomplete('WIP');
|
|
|
|
$data = [
|
|
'display_name' => ' Display name',
|
|
'domain' => 'Domain',
|
|
'local_part' => 'Local Part',
|
|
];
|
|
|
|
$parts = Parts::create($data);
|
|
|
|
$this->assertEquals($data['display_name'], $parts->getDisplayName());
|
|
$this->assertEquals($data['domain'], $parts->getDomain());
|
|
$this->assertEquals($data['local_part'], $parts->getLocalPart());
|
|
}
|
|
}
|