mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-02-17 22:50:48 +00:00
Re-organise the src and tests directories
This commit is contained in:
parent
ae766763b2
commit
b238e6655a
26 changed files with 13 additions and 13 deletions
24
tests/ConfigTest.php
Normal file
24
tests/ConfigTest.php
Normal 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());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue