@dataProvider getInvalidCountries
public function testInvalidCountries($country) {
$constraint = new Country(array(
'message' => 'myMessage',
));
$this->context
->expects($this
->once())
->method('addViolation')
->with('myMessage', array(
'{{ value }}' => $country,
));
$this->validator
->validate($country, $constraint);
}