public function testCreateQueryWithInvalidClass() { $this->client->registerQueryType('invalidquery', '\\StdClass'); $this->setExpectedException('Solarium\\Exception\\UnexpectedValueException'); $this->client->createQuery('invalidquery'); }