Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit
28 lines
574 B
PHP
Executable File
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);
|
|
}
|
|
}
|