attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)
 /**
  * @covers CommonPreviousOperation::attributeLabels
  */
 public function testAttributeLabels()
 {
     $expected = array('id' => 'ID', 'name' => 'Name');
     $this->assertEquals($expected, $this->model->attributeLabels());
 }