CodeExplorer CountryValidator example
protected function tearDown(): void
{ parent::
tearDown();
\Locale::
setDefault($this->defaultLocale
);
} protected function createValidator(): CountryValidator
{ return new CountryValidator();
} public function testNullIsValid() { $this->validator->
validate(null,
new Country());
$this->
assertNoViolation();
} public function testEmptyStringIsValid() {