Files
abcParser/tests/unit/AbcParser/Domain/Core/PersonTest.php
richard 2cdf7dd1cf
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit
update webpatser/laravel-uuid to version 3
2020-06-20 12:36:34 -04:00

28 lines
574 B
PHP
Executable File

<?php
/**
* Created by PhpStorm.
* User: richard
* Date: 11/19/17
* Time: 4:39 PM
*/
namespace Tests\Unit\AbcParser\Domain\Core;
use Enzyme\Axiom\Atoms\StringAtom;
use PHPUnit_Framework_TestCase;
use XaiCorp\AbcParser\Domain\Atoms\EmailAtom;
use XaiCorp\AbcParser\Domain\Core\Person;
class PersonTest extends PHPUnit_Framework_TestCase
{
public function testCreate()
{
$name = new StringAtom('Roger');
$email = new EmailAtom('');
$person = new Person($name, $email);
$this->assertInstanceOf(Person::class, $person);
}
}