<?php

namespace Tests\Unit\Providers;

use App\Providers\Filament\AvatarProviders\DiceBearAvatarProvider;
use App\Models\User;
use Tests\TestCase;

class DiceBearAvatarProviderTest extends TestCase
{
    public function test_get_returns_correct_url()
    {
        $provider = new DiceBearAvatarProvider();
        
        $user = new User();
        $user->full_name = 'Test User';
        
        $url = $provider->get($user);
        
        $this->assertStringContainsString('https://api.dicebear.com/9.x/initials/svg', $url);
        $this->assertStringContainsString('seed=Test+User', $url);
    }
}
