You are here

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

File

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

Class

FunctionCallArgumentFilterTest
@group DMU.Utility.Filter

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Filter

Code

public function testFailIfCallNotHasArgument() {
  $this
    ->assertFalse(Parser::parseExpression('baz(0, "foo", bar())')
    ->is($this->filter));
}