<?php

namespace Tests\Unit\Models;

use App\Models\ReimbursementBatchAdminFile;
use PHPUnit\Framework\TestCase;

class ReimbursementBatchAdminFileTest extends TestCase
{
    public function test_model_metadata_is_converted(): void
    {
        $model = new ReimbursementBatchAdminFile();

        $this->assertSame('reimbursement_batch_admin_files', $model->getTable());
        $this->assertSame('id', $model->getKeyName());
        $this->assertSame(false, $model->timestamps);
        $this->assertSame(["batch_id", "admin_id", "filename", "original_filename", "uploaded_at", "uploaded_by"], $model->getFillable());
    }

    public function test_model_class_loads(): void
    {
        $this->assertInstanceOf(ReimbursementBatchAdminFile::class, new ReimbursementBatchAdminFile());
    }
}
