@dataProvider getValidValues
public function testValidValues($value, $type) {
$this->context
->expects($this
->never())
->method('addViolation');
$constraint = new Type(array(
'type' => $type,
));
$this->validator
->validate($value, $constraint);
}