You are here

public function ValidatorBuilderTest::testSetApiVersion25 in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/ValidatorBuilderTest.php, line 140

Class

ValidatorBuilderTest

Namespace

Symfony\Component\Validator\Tests

Code

public function testSetApiVersion25() {
  $this
    ->assertSame($this->builder, $this->builder
    ->setApiVersion(Validation::API_VERSION_2_5));
  $this
    ->assertInstanceOf('Symfony\\Component\\Validator\\Validator\\RecursiveValidator', $this->builder
    ->getValidator());
}