Пример #1
0
 /**
  * @dataProvider nameDataProvider
  */
 public function testParseNames($name, $expected)
 {
     $bibliographicName = new BibliographicName();
     $result = $bibliographicName->parse($name);
     $this->assertEquals($expected, $result);
 }
Пример #2
0
 /**
  * @dataProvider providerNames
  */
 public function testParseNameForPabloDaSilva($nameString, $expected)
 {
     $bibliographicName = new BibliographicName();
     $result = $bibliographicName->parse($nameString);
     $this->assertEquals($expected, $result);
 }