You are here

public function ExpressionBuilderTest::testIn in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ExpressionBuilderTest.php \Doctrine\Tests\Common\Collections\ExpressionBuilderTest::testIn()

File

vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ExpressionBuilderTest.php, line 94

Class

ExpressionBuilderTest
@group DDC-1637

Namespace

Doctrine\Tests\Common\Collections

Code

public function testIn() {
  $expr = $this->builder
    ->in("a", array(
    "b",
  ));
  $this
    ->assertInstanceOf('Doctrine\\Common\\Collections\\Expr\\Comparison', $expr);
  $this
    ->assertEquals(Comparison::IN, $expr
    ->getOperator());
}