_query = new Solarium_Query_Ping; } public function testGetType() { $this->assertEquals(Solarium_Client::QUERYTYPE_PING, $this->_query->getType()); } public function testConfigMode() { $options = array( 'handler' => 'myHandler', 'resultclass' => 'myResult', ); $this->_query->setOptions($options); $this->assertEquals( $options['handler'], $this->_query->getHandler() ); $this->assertEquals( $options['resultclass'], $this->_query->getResultClass() ); } }