diff --git a/test/Validator/PhoneNumberTest.php b/test/Validator/PhoneNumberTest.php index ecbf9558..34bc0ca3 100644 --- a/test/Validator/PhoneNumberTest.php +++ b/test/Validator/PhoneNumberTest.php @@ -3083,6 +3083,12 @@ public function testAllowPossibleSetterGetter() $this->assertTrue($this->validator->allowPossible()); } + public function testSetCountryMethodIsCaseInsensitive() + { + $this->validator->setCountry('us'); + $this->assertSame('US', $this->validator->getCountry()); + } + public function testInvalidTypes() { $values = array(