public function testReorder()
 {
     $fieldDescription1 = $this->getFieldDescriptionMock('fooName1', 'fooLabel1');
     $fieldDescription2 = $this->getFieldDescriptionMock('fooName2', 'fooLabel2');
     $fieldDescription3 = $this->getFieldDescriptionMock('fooName3', 'fooLabel3');
     $fieldDescription4 = $this->getFieldDescriptionMock('fooName4', 'fooLabel4');
     $this->datagridMapper->add($fieldDescription1, null, array('field_name' => 'fooFilterName1'));
     $this->datagridMapper->add($fieldDescription2, null, array('field_name' => 'fooFilterName2'));
     $this->datagridMapper->add($fieldDescription3, null, array('field_name' => 'fooFilterName3'));
     $this->datagridMapper->add($fieldDescription4, null, array('field_name' => 'fooFilterName4'));
     $this->assertSame(array('fooName1', 'fooName2', 'fooName3', 'fooName4'), array_keys($this->datagrid->getFilters()));
     $this->datagridMapper->reorder(array('fooName3', 'fooName2', 'fooName1', 'fooName4'));
     $this->assertSame(array('fooName3', 'fooName2', 'fooName1', 'fooName4'), array_keys($this->datagrid->getFilters()));
 }