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