| 1 |
<?php |
| 2 |
|
| 3 |
declare( strict_types=1 ); |
| 4 |
|
| 5 |
namespace Tests\Core\PickupPointProvider; |
| 6 |
|
| 7 |
use Packetery\Core\PickupPointProvider\CompoundProvider; |
| 8 |
use PHPUnit\Framework\TestCase; |
| 9 |
|
| 10 |
class CompoundProviderTest extends TestCase { |
| 11 |
public function testGetVendorCodes(): void { |
| 12 |
$vendor = new CompoundProvider( |
| 13 |
'zpointcz', |
| 14 |
'cz', |
| 15 |
true, |
| 16 |
true, |
| 17 |
'CZK', |
| 18 |
true, |
| 19 |
[ |
| 20 |
'czzpoint', |
| 21 |
'czzbox', |
| 22 |
], |
| 23 |
); |
| 24 |
self::assertCount( 2, $vendor->getVendorCodes() ); |
| 25 |
} |
| 26 |
} |
| 27 |
|