public function testNullNotConsideredExtraField() {
$data = $this
->prepareTestData(array(
'foo' => null,
));
$constraint = new Collection(array(
'fields' => array(
'foo' => new Range(array(
'min' => 4,
)),
),
));
$this->context
->expects($this
->never())
->method('addViolationAt');
$this->validator
->validate($data, $constraint);
}