public function testInvalidCountry() { $this->validator->validate('InvalidValue', $this->constraint); $this->buildViolation($this->constraint->message)->setParameters(['{{ value }}' => '"InvalidValue"'])->atPath('')->assertRaised(); }