feature/cierres #25

Open
aldarien wants to merge 446 commits from feature/cierres into develop
312 changed files with 790 additions and 12020 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);
}
}