20 lines
579 B
PHP
20 lines
579 B
PHP
<?php
|
|
namespace Tests\Unit\Model\Venta;
|
|
|
|
use Incoviba\Model\Venta\Promotion;
|
|
use Tests\Extension\AbstractModel;
|
|
use Tests\Extension\testMethodsTrait;
|
|
use Tests\Extension\testPropertiesTrait;
|
|
|
|
class PromotionTest extends AbstractModel
|
|
{
|
|
use testPropertiesTrait, testMethodsTrait;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
$this->model = new Promotion();
|
|
$this->properties = ['description', 'amount', 'startDate', 'endDate', 'validUntil', 'type', 'state'];
|
|
$this->methods = ['projects', 'brokers', 'unitTypes', 'unitLines', 'units', 'value'];
|
|
}
|
|
}
|