create([ 'preferences' => ['lastfm_session_key' => 'foo'], ]); $value = $user->preferences['lastfm_session_key']; self::assertEquals('hidden', $value); } }