public function testGetRawTextEmpty() { $data = array('text' => 'dummytest', 'start' => 10, 'end' => 22, 'position' => 2, 'positionHistory' => array(2, 1), 'type' => '<dummytype>'); $item = new Solarium_Result_Analysis_Item($data); $this->assertEquals(null, $item->getRawText()); }
public function testGetMatch() { $this->assertEquals($this->_data['match'], $this->_item->getMatch()); }