<?php

namespace App\Tests\Entity;

use App\Entity\Devis;
use App\Entity\DevisOptions;
use PHPUnit\Framework\TestCase;

class DevisOptionsTest extends TestCase
{
    public function testGettersAndSetters()
    {
        $devisOption = new DevisOptions();
        $devis = new Devis();

        $devisOption->setDevis($devis);
        $devisOption->setOption('Option A'); // Use setOption
        $devisOption->setPriceHt(25.0); // Use setPriceHt
        $devisOption->setDetails('Some details'); // Use setDetails

        $this->assertSame($devis, $devisOption->getDevis());
        $this->assertEquals('Option A', $devisOption->getOption());
        $this->assertEquals(25.0, $devisOption->getPriceHt());
        $this->assertEquals('Some details', $devisOption->getDetails());
    }
}
