public function ExpressionBuilderTest::testAndX in Plug 7
File
- lib/
doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ ExpressionBuilderTest.php, line 24
Class
- ExpressionBuilderTest
- @group DDC-1637
Namespace
Doctrine\Tests\Common\CollectionsCode
public function testAndX() {
$expr = $this->builder
->andX($this->builder
->eq("a", "b"));
$this
->assertInstanceOf('Doctrine\\Common\\Collections\\Expr\\CompositeExpression', $expr);
$this
->assertEquals(CompositeExpression::TYPE_AND, $expr
->getType());
}