20 lines
562 B
PHP
20 lines
562 B
PHP
<?php
|
|
namespace Tests\Unit\Model\Venta;
|
|
|
|
use Incoviba\Model\Venta\Reservation;
|
|
use Tests\Extension\AbstractModel;
|
|
use Tests\Extension\testMethodsTrait;
|
|
use Tests\Extension\testPropertiesTrait;
|
|
|
|
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'];
|
|
}
|
|
}
|