_debug = new Solarium_Query_Select_Component_Debug; } public function testConfigMode() { $options = array( 'explainother' => 'id:12', ); $this->_debug->setOptions($options); $this->assertEquals($options['explainother'], $this->_debug->getExplainOther()); } public function testGetType() { $this->assertEquals( Solarium_Query_Select::COMPONENT_DEBUG, $this->_debug->getType() ); } public function testSetAndGetExplainOther() { $value = 'id:24'; $this->_debug->setExplainOther($value); $this->assertEquals( $value, $this->_debug->getExplainOther() ); } }