You are here

public function ExpressionBuilderTest::testNotIn in Plug 7

File

lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/ExpressionBuilderTest.php, line 102

Class

ExpressionBuilderTest
@group DDC-1637

Namespace

Doctrine\Tests\Common\Collections

Code

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