public function testConstruction()
{
$result = new LuceneResult(array("etag" => "asdf", "fetch_duration" => 1234, "limit" => 20, "q" => "asdf + foo", "rows" => array(array("id" => "bar", "score" => 1234), array("id" => "foo", "score" => 4321)), "search_duration" => 4321, "skip" => 20, "total_rows" => 9999));
$this->assertEquals("asdf", $result->getETag());
$this->assertEquals(1234, $result->getFetchDuration());
$this->assertEquals(20, $result->getLimit());
$this->assertEquals("asdf + foo", $result->getExecutedQuery());
$this->assertEquals(4321, $result->getSearchDuration());
$this->assertEquals(20, $result->getSkip());
$this->assertEquals(9999, $result->getTotalRows());
$this->assertEquals(array(array("id" => "bar", "score" => 1234), array("id" => "foo", "score" => 4321)), $result->getRows());
}