public function LegacyExecutionContextTest::testInit in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/LegacyExecutionContextTest.php \Symfony\Component\Validator\Tests\LegacyExecutionContextTest::testInit()
File
- vendor/
symfony/ validator/ Tests/ LegacyExecutionContextTest.php, line 73
Class
- LegacyExecutionContextTest
- @group legacy
Namespace
Symfony\Component\Validator\TestsCode
public function testInit() {
$this
->assertCount(0, $this->context
->getViolations());
$this
->assertSame('Root', $this->context
->getRoot());
$this
->assertSame('foo.bar', $this->context
->getPropertyPath());
$this
->assertSame('Group', $this->context
->getGroup());
}