Laravel - Database - Assert Model Exists

Assert that a given model exists in the database:

    
    use App\Models\User;
    
    $user = User::factory()->create();
    
    $this->assertModelExists($user);