public function testKeys() { $fieldDescription1 = $this->getFieldDescriptionMock('fooName1', 'fooLabel1'); $fieldDescription2 = $this->getFieldDescriptionMock('fooName2', 'fooLabel2'); $this->datagridMapper->add($fieldDescription1, null, array('field_name' => 'fooFilterName1')); $this->datagridMapper->add($fieldDescription2, null, array('field_name' => 'fooFilterName2')); $this->assertSame(array('fooName1', 'fooName2'), $this->datagridMapper->keys()); }