@dataProvider getInvalidIbans
public function testInvalidIbans($iban) {
$constraint = new Iban(array(
'message' => 'myMessage',
));
$this->context
->expects($this
->once())
->method('addViolation')
->with('myMessage', array(
'{{ value }}' => $iban,
));
$this->validator
->validate($iban, $constraint);
}