<?php
$suite = new PHPUnit_TestSuite();
$test[] = new EmailAddressTestCase('testLocalPart');
$test[] = new EmailAddressTestCase('testDomain');
$suite->addTest($test[0]);
$suite->addTest($test[1]);
$result = PHPUnit::run($suite);
echo $result->toString();
?>
<?php
$suite = new PHPUnit_TestSuite('EmailAddressTestCase');
$result = PHPUnit::run($suite);
echo $result->toString();
?>