Re-organise the src and tests directories

This commit is contained in:
Oliver Davies 2020-06-11 20:21:51 +01:00
parent ae766763b2
commit b238e6655a
26 changed files with 13 additions and 13 deletions

View file

@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests\ValueObject;
use Opdavies\Glassboxx\Tests\TestCase;
use Opdavies\Glassboxx\ValueObject\Customer;
final class CustomerTest extends TestCase
{
public function testCreatingACustomer(): void
{
$customer = new Customer(
'Oliver',
'Davies',
'oliver@oliverdavies.uk'
);
$this->assertSame('Oliver', $customer->getFirstName());
$this->assertSame('Davies', $customer->getLastName());
$this->assertSame('oliver@oliverdavies.uk', $customer->getEmailAddress());
}
}