<?php

use App\Models\Classification;
use App\Models\ContentRecap;
use Illuminate\Foundation\Testing\RefreshDatabase;

uses(RefreshDatabase::class);

test('content recap belongs to classification', function () {
    $recap = ContentRecap::factory()->create(['title' => 'Weekly Recap']);
    expect($recap->title)->toBe('Weekly Recap');
    expect($recap->classification)->toBeInstanceOf(Classification::class);
});
