You are here

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

File

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

Class

FunctionCallArgumentFilterTest
@group DMU.Utility.Filter

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Filter

Code

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