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