mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-01-23 04:27:32 +00:00
28 lines
593 B
PHP
28 lines
593 B
PHP
<?php
|
|
|
|
namespace Opdavies\Glassboxx\Tests\Glassboxx;
|
|
|
|
use Opdavies\Glassboxx\Config;
|
|
|
|
class TestCase extends \PHPUnit\Framework\TestCase
|
|
{
|
|
/** @var Config */
|
|
protected $config;
|
|
|
|
protected function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
$this->config = $this->getMockBuilder(Config::class)
|
|
->onlyMethods([])
|
|
->setConstructorArgs(
|
|
[
|
|
'vendor_id' => 123,
|
|
'username' => 'opdavies',
|
|
'password' => 'secret',
|
|
]
|
|
)
|
|
->getMock();
|
|
}
|
|
}
|