You are here

public function ExpressionBuilderTest::testGte 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::testGte()

File

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

Class

ExpressionBuilderTest
@group DDC-1637

Namespace

Doctrine\Tests\Common\Collections

Code

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