2025-04-30 01:12:23 -04:00
|
|
|
<?php
|
2025-05-08 11:13:17 -04:00
|
|
|
namespace Tests\Unit\Model\Venta;
|
2025-04-30 01:12:23 -04:00
|
|
|
|
|
|
|
use Incoviba\Model\Venta\Reservation;
|
2025-05-08 11:13:17 -04:00
|
|
|
use Tests\Extension\AbstractModel;
|
|
|
|
use Tests\Extension\testMethodsTrait;
|
|
|
|
use Tests\Extension\testPropertiesTrait;
|
2025-04-30 01:12:23 -04:00
|
|
|
|
|
|
|
class ReservationTest extends AbstractModel
|
|
|
|
{
|
|
|
|
use testPropertiesTrait, testMethodsTrait;
|
|
|
|
|
|
|
|
protected function setUp(): void
|
|
|
|
{
|
|
|
|
$this->model = new Reservation();
|
|
|
|
$this->properties = ['buyer', 'date', 'units', 'promotions', 'broker'];
|
|
|
|
$this->methods = ['states', 'currentState', 'addUnit', 'removeUnit', 'findUnit', 'hasUnit'];
|
|
|
|
}
|
2025-05-08 11:13:17 -04:00
|
|
|
}
|