You are here

public function NodeAssignmentFilterTest::testLeftOperand in Drupal 7 to 8/9 Module Upgrader 8

File

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

Class

NodeAssignmentFilterTest
@group DMU.Utility.Filter

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Filter

Code

public function testLeftOperand() {

  /** @var \Pharborist\Operators\AssignNode $expr */
  $expr = Parser::parseExpression('$foo = "bazzz"');
  $this
    ->assertTrue($expr
    ->getLeftOperand()
    ->is($this->filter));
}