public function testValidImage() {
if (!class_exists('Symfony\\Component\\HttpFoundation\\File\\File')) {
$this
->markTestSkipped('The "HttpFoundation" component is not available');
}
$this->context
->expects($this
->never())
->method('addViolation');
$this->validator
->validate($this->image, new Image());
}