public function ClosureExpressionVisitorTest::testArrayComparison in Plug 7
File
- lib/
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,
)));
}