public function testValidCountries($country) { $this->validator->validate($country, $this->constraint); $this->assertNoViolation(); }