public function testContenttypeFailure() { $app = $this->getApp(); $filter = 'main other'; $query = $app['query.search']; $query->setContentType('blocks'); $this->setExpectedException('Bolt\\Exception\\QueryParseException'); $query->setSearch($filter); }