feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
328 changed files with 811 additions and 13069 deletions
Showing only changes of commit dd1741a930 - Show all commits

View File

@ -0,0 +1,27 @@
<?php
namespace ProVM\Unit\Model\Proyecto;
use Incoviba\Model\Proyecto\Broker;
use PHPUnit\Framework\TestCase;
use ProVM\Unit\ObjectHasMethodTrait;
class BrokerTest extends TestCase
{
use ObjectHasMethodTrait;
public function testAttributes(): void
{
$broker = new Broker();
$this->assertObjectHasProperty('rut', $broker);
$this->assertObjectHasProperty('digit', $broker);
$this->assertObjectHasProperty('name', $broker);
}
public function testRelations(): void
{
$broker = new Broker();
$this->assertObjectHasMethod('data', $broker);
$this->assertObjectHasMethod('contracts', $broker);
}
}