public function testInvalidNestingClose() { $this->setExpectedException('SPF\\SolrQueryBuilder\\Query\\NestingException'); $this->query->endNest(); }