public function testInvalidChoiceMultiple() {
$constraint = new Choice(array(
'choices' => array(
'foo',
'bar',
),
'multipleMessage' => 'myMessage',
'multiple' => true,
));
$this->context
->expects($this
->once())
->method('addViolation')
->with('myMessage', array(
'{{ value }}' => 'baz',
));
$this->validator
->validate(array(
'foo',
'baz',
), $constraint);
}