finished default parser

This commit is contained in:
2018-04-24 07:19:17 -04:00
parent ff99a0eaaf
commit 8a1c752045
26 changed files with 1757 additions and 6 deletions

View File

@@ -0,0 +1,26 @@
<?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 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);
}
}