for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MailSoTests;
class EmailCollectionTest extends \PHPUnit_Framework_TestCase
{
public function testNewInstance()
$oMails = \MailSo\Mime\EmailCollection::NewInstance('[email protected]');
$this->assertEquals(1, $oMails->Count());
}
public function testNewInstance1()
$oMails = \MailSo\Mime\EmailCollection::NewInstance('User Name <[email protected]>, User D\'Name <[email protected]>, "User Name" <[email protected]>');
$this->assertEquals(3, $oMails->Count());