accounts/common/tests/unit/emails/EmailHelperTest.php

14 lines
301 B
PHP

<?php
namespace common\tests\unit\emails;
use common\emails\EmailHelper;
use common\tests\unit\TestCase;
class EmailHelperTest extends TestCase {
public function testBuildTo() {
$this->assertSame(['mock@ely.by' => 'username'], EmailHelper::buildTo('username', 'mock@ely.by'));
}
}