DoctrineExtensions\Tests\Query\Mysql\StringTest::testReplace PHP Method

testReplace() public method

public testReplace ( )
    public function testReplace()
    {
        $q = $this->entityManager->createQuery("SELECT REPLACE('www.mysql.com', 'w', 'Ww') from DoctrineExtensions\\Tests\\Entities\\Blank");
        $this->assertEquals("SELECT REPLACE('www.mysql.com', 'w', 'Ww') AS sclr_0 FROM Blank b0_", $q->getSql());
    }