public function testCheck() { $data = 'data'; $headers = array('X-dummy: data'); // this should be ok, no exception $this->_adapter->check($data, $headers); $data = ''; $headers = array(); $this->setExpectedException('Solarium_Exception'); $this->_adapter->check($data, $headers); }