@expectedException \Symfony\Component\Validator\Exception\UnexpectedTypeException
public function testExpectsStringCompatibleTypeOrFile() { $this->validator ->validate(new \stdClass(), new File()); }