public function testInstanceWithCountryCode() { $validator = new IbanValidator(array('country_code' => 'AT')); $this->assertEquals('AT', $validator->getCountryCode()); $this->setExpectedException('Zend\\Validator\\Exception\\InvalidArgumentException', 'ISO 3166-1'); $validator = new IbanValidator(array('country_code' => 'BAR')); }