public function ExecutionContextTest::testGetPropertyPathWithEmptyCurrentPropertyPath

File

drupal/core/vendor/symfony/validator/Symfony/Component/Validator/Tests/ExecutionContextTest.php, line 269

Class

ExecutionContextTest

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'));
}