/** * Tests DataBackend::isValidBIC(); * * @dataProvider provideTestIsValidBIC * @see DataBackend::isValidBIC(); */ public function testIsValidBIC(DataBackend $backend, $expected, $bic) { $this->assertEquals($expected, $backend->isValidBIC($bic)); }
/** * Returns if a bic is valid. * * @param string $bic BIC * @return bool */ public function isValidBIC($bic) { return $this->backend->isValidBIC(BICUtil::normalize($bic)); }