You are here

public function ClosureExpressionVisitorTest::testGetObjectFieldValueMagicCallMethod in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php \Doctrine\Tests\Common\Collections\ClosureExpressionVisitorTest::testGetObjectFieldValueMagicCallMethod()

File

vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php, line 53

Class

ClosureExpressionVisitorTest
@group DDC-1637

Namespace

Doctrine\Tests\Common\Collections

Code

public function testGetObjectFieldValueMagicCallMethod() {
  $object = new TestObject(1, 2, true, 3);
  $this
    ->assertEquals(3, $this->visitor
    ->getObjectFieldValue($object, 'qux'));
}