$this->image = __DIR__.'/Fixtures/test.gif';
$this->imageLandscape = __DIR__.'/Fixtures/test_landscape.gif';
$this->imagePortrait = __DIR__.'/Fixtures/test_portrait.gif';
$this->image4By3 = __DIR__.'/Fixtures/test_4by3.gif';
$this->image16By9 = __DIR__.'/Fixtures/test_16by9.gif';
$this->imageCorrupted = __DIR__.'/Fixtures/test_corrupted.gif';
$this->notAnImage = __DIR__.'/Fixtures/ccc.txt';
} public function testNullIsValid() { $this->validator->
validate(null,
new Image());
$this->
assertNoViolation();
} public function testEmptyStringIsValid() { $this->validator->
validate('',
new Image());
$this->
assertNoViolation();
}