DoctrineExtensions\Tests\Query\Mysql\StringTest::testReplace PHP 메소드

testReplace() 공개 메소드

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());
    }