public function testMissingNestingClose() { $this->setExpectedException('SPF\\SolrQueryBuilder\\Query\\NestingException'); $this->query->nest(); $this->query->getQueryString(); }