Beispiel #1
0
 /**
  * Ensures that the validator follows expected behavior
  *
  * @dataProvider ibanDataProvider
  * @return void
  */
 public function testBasic($iban, $expected)
 {
     $validator = new IbanValidator();
     $this->assertEquals($expected, $validator->isValid($iban), implode("\n", array_merge($validator->getMessages())));
 }