public function testOptionalFieldNotPresent() {
$data = $this
->prepareTestData(array());
$this->context
->expects($this
->never())
->method('addViolationAt');
$this->validator
->validate($data, new Collection(array(
'foo' => new Optional(),
)));
}