You are here

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

File

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

Class

NodeAssignmentFilterTest
@group DMU.Utility.Filter

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Filter

Code

public function testRightOperand() {

  /** @var \Pharborist\Operators\AssignNode $expr */
  $expr = Parser::parseExpression('$baz = $foo');
  $this
    ->assertFalse($expr
    ->getRightOperand()
    ->is($this->filter));
}