19 lines
579 B
PHP
19 lines
579 B
PHP
![]() |
<?php
|
||
|
namespace ProVM\Unit\Model\Venta;
|
||
|
|
||
|
use Incoviba\Model\Venta\Reservation;
|
||
|
use ProVM\Tests\Extension\AbstractModel;
|
||
|
use ProVM\Tests\Extension\testMethodsTrait;
|
||
|
use ProVM\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'];
|
||
|
}
|
||
|
}
|