public function NormalizeTest::testAddPatternWithImproperNumberOfMatchesThrowsException in Bibliography Module 7.2
File
- lib/
msrc-authortool/ tests/ NormalizeTest.php, line 92
Class
Code
public function testAddPatternWithImproperNumberOfMatchesThrowsException() {
$this
->setExpectedException("\\InvalidArgumentException");
$obj = new \Nametools\Normalize(new NormalizerTestMatchObject(), new \Nametools\RegexCounter());
$obj
->prependPattern("/^(.+?)\$/", array(
'name',
'email',
));
}