I got a model called Run which contains this method:
public function getNameAttribute($name){ if($name == \'Eendaags\') return $this->race_edition
since Laravel 7.x there is a new approach to access intact attribute:
// that skips mutators $model->getRawOriginal('name');
https://laracasts.com/discuss/channels/testing/how-to-disable-casting-during-testing