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

24
tests/ConfigTest.php Normal file
View file

@ -0,0 +1,24 @@
<?php
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests;
use Opdavies\Glassboxx\Config;
use PHPUnit\Framework\TestCase;
class ConfigTest extends TestCase
{
public function testThatGettersReturnExpectedValues(): void
{
$config = new Config(
12345,
'opdavies',
'secret'
);
$this->assertSame(12345, $config->getVendorId());
$this->assertSame('opdavies', $config->getUsername());
$this->assertSame('secret', $config->getPassword());
}
}