You are here

public function FunctionCallArgumentFilterTest::testFailIfVariableIsChild in Drupal 7 to 8/9 Module Upgrader 8

File

tests/src/Unit/Utility/Filter/FunctionCallArgumentFilterTest.php, line 31

Class

FunctionCallArgumentFilterTest
@group DMU.Utility.Filter

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Filter

Code

public function testFailIfVariableIsChild() {
  $this
    ->assertFalse(Parser::parseExpression('baz($foo[0])')
    ->is($this->filter));
}