public function testFinalizeShouldThrowExceptionForUnsupportedQueryType() { $qb = $this->getTestQueryBuilder()->finalize('function() { }'); }