public function testValidChoiceArray() {
$constraint = new Choice(array(
'choices' => array(
'foo',
'bar',
),
));
$this->context
->expects($this
->never())
->method('addViolation');
$this->validator
->validate('bar', $constraint);
}