Esempio n. 1
0
 /**
  * Tests DataBackend::isValidBIC();
  *
  * @dataProvider provideTestIsValidBIC
  * @see DataBackend::isValidBIC();
  */
 public function testIsValidBIC(DataBackend $backend, $expected, $bic)
 {
     $this->assertEquals($expected, $backend->isValidBIC($bic));
 }
Esempio n. 2
0
File: BAV.php Progetto: bmdevel/bav
 /**
  * Returns if a bic is valid.
  *
  * @param string $bic BIC
  * @return bool
  */
 public function isValidBIC($bic)
 {
     return $this->backend->isValidBIC(BICUtil::normalize($bic));
 }