You are here

public function LegacyExecutionContextTest::testGetPropertyPathWithEmptyCurrentPropertyPath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/LegacyExecutionContextTest.php \Symfony\Component\Validator\Tests\LegacyExecutionContextTest::testGetPropertyPathWithEmptyCurrentPropertyPath()

File

vendor/symfony/validator/Tests/LegacyExecutionContextTest.php, line 277

Class

LegacyExecutionContextTest
@group legacy

Namespace

Symfony\Component\Validator\Tests

Code

public function testGetPropertyPathWithEmptyCurrentPropertyPath() {
  $this->context = new ExecutionContext($this->globalContext, $this->translator, self::TRANS_DOMAIN, $this->metadata, 'currentValue', 'Group', '');
  $this
    ->assertEquals('bam.baz', $this->context
    ->getPropertyPath('bam.baz'));
}