public function testValidateEmptyLocale()
 {
     $validator = new LocaleValidator();
     $validator->validate(null, $this->getMockConstraint());
     $validator->validate('', $this->getMockConstraint());
 }
 public function getLocaleValidator($intlExtension = false)
 {
     $validator = new LocaleValidator($intlExtension, self::$iso3166, self::$iso639);
     $validator->initialize($this->context);
     return $validator;
 }