CommerceGuys\Addressing\Tests\Validator\Constraints\CountryConstraintValidatorTest::testInvalidCountry PHP Method

testInvalidCountry() public method

public testInvalidCountry ( )
    public function testInvalidCountry()
    {
        $this->validator->validate('InvalidValue', $this->constraint);
        $this->buildViolation($this->constraint->message)->setParameters(['{{ value }}' => '"InvalidValue"'])->atPath('')->assertRaised();
    }