You are here

public function NormalizeTest::testAddPatternWithImproperPropertyNamesThrowsException in Bibliography Module 7.2

File

lib/msrc-authortool/tests/NormalizeTest.php, line 102

Class

NormalizeTest

Code

public function testAddPatternWithImproperPropertyNamesThrowsException() {
  $this
    ->setExpectedException("\\InvalidArgumentException");
  $obj = new \Nametools\Normalize(new NormalizerTestMatchObject(), new \Nametools\RegexCounter());
  $obj
    ->prependPattern("/^(.+?)\\s(.+?)\$/", array(
    'name',
    'bloogedybloo',
  ));
}