@dataProvider getInvalidReservedIpsAll
public function testInvalidReservedIpsAll($ip) {
$constraint = new Ip(array(
'version' => Ip::ALL_NO_RES,
'message' => 'myMessage',
));
$this->context
->expects($this
->once())
->method('addViolation')
->with('myMessage', array(
'{{ value }}' => $ip,
));
$this->validator
->validate($ip, $constraint);
}