/** * @covers ::getRegex */ public function test_getRegex() { foreach ($this->generateRegexs() as $Arguments) { list($Regex) = $Arguments; $this->assertNotEmpty($this->Email->getRegex($Regex), 'IEmailAddress::getRegex(' . $Regex . ') should not be empty'); } }