<?php



namespace DoctrineExtensions\Tests\Query\Mysql;



class BitCountTest extends \DoctrineExtensions\Tests\Query\MysqlTestCase

{

    public function testBitCount()

    {

        $q = $this->entityManager->createQuery("SELECT BIT_COUNT(2) from DoctrineExtensions\Tests\Entities\Blank b");



        $this->assertEquals(

            "SELECT BIT_COUNT(2) AS sclr_0 FROM Blank b0_",

            $q->getSql()

        );

    }

}

