You are here

public function LegacyExecutionContextTest::testGetPropertyPathWithEmptyCurrentPropertyPath in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/LegacyExecutionContextTest.php, line 279

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