mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-01-23 04:27:32 +00:00
25 lines
546 B
PHP
25 lines
546 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Opdavies\Glassboxx\Tests\Glassboxx;
|
|
|
|
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());
|
|
}
|
|
}
|