/** * Checks if the magic "value" property still contains the correct value. */ public function testValuePropertyContainsCorrectValue() { $this->validator->isValid('invalid.jpg'); $this->assertEquals('invalid.jpg', $this->validator->value); }