예제 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->context = $this->getMock('Symfony\\Component\\Validator\\ExecutionContext', array(), array(), '', false);
     $this->validator = new CountryValidator();
     $this->validator->initialize($this->context);
 }
 protected function setUp()
 {
     parent::setUp();
     $this->validator = new LanguageValidator();
 }
 protected function setUp()
 {
     parent::setUp();
     $this->validator = new CountryValidator();
 }