public function testAttributeLabels() { $model = new CrashReport(); $attrLabels = $model->attributeLabels(); $this->assertTrue($attrLabels['received'] == 'Date Received'); $this->assertTrue($attrLabels['geo_location'] == 'Geographic Location'); }