public function ExpressionBuilderTest::testIn in Plug 7
File
- lib/
doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ ExpressionBuilderTest.php, line 94
Class
- ExpressionBuilderTest
- @group DDC-1637
Namespace
Doctrine\Tests\Common\CollectionsCode
public function testIn() {
$expr = $this->builder
->in("a", array(
"b",
));
$this
->assertInstanceOf('Doctrine\\Common\\Collections\\Expr\\Comparison', $expr);
$this
->assertEquals(Comparison::IN, $expr
->getOperator());
}