public function testConcatWsFail() { $query = $this->em->createQuery(sprintf("SELECT CONCAT_WS(' ', '1') FROM %s as e", self::FAKE_ENTITY)); $query->getSQL(); $this->fail('Should have failed'); }