public function ClosureExpressionVisitorTest::testArrayComparison in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ClosureExpressionVisitorTest.php \Doctrine\Tests\Common\Collections\ClosureExpressionVisitorTest::testArrayComparison()
File
- vendor/
doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ ClosureExpressionVisitorTest.php, line 205
Class
- ClosureExpressionVisitorTest
- @group DDC-1637
Namespace
Doctrine\Tests\Common\CollectionsCode
public function testArrayComparison() {
$closure = $this->visitor
->walkComparison($this->builder
->eq("foo", 42));
$this
->assertTrue($closure(array(
'foo' => 42,
)));
}