public function ValidatorBuilderTest::testSetApiVersion25 in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ ValidatorBuilderTest.php, line 140
Class
Namespace
Symfony\Component\Validator\TestsCode
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());
}