public function testValidChoiceCallbackStaticMethod() {
$constraint = new Choice(array(
'callback' => array(
__CLASS__,
'staticCallback',
),
));
$this->context
->expects($this
->never())
->method('addViolation');
$this->validator
->validate('bar', $constraint);
}