2026-03-30 09:10:44 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2026-09-11 16:55:12 +02:00
|
|
|
use Uwil\ArcadiaApiPhpClient\Repository\IncoCompoRepository;
|
|
|
|
|
use Uwil\ArcadiaApiPhpClient\Repository\IncoRepository;
|
|
|
|
|
use Uwil\ArcadiaApiPhpClient\Repository\IncoShortRepository;
|
|
|
|
|
use Uwil\ArcadiaApiPhpClient\Service\IncoService;
|
2026-03-30 09:10:44 +02:00
|
|
|
|
|
|
|
|
describe('Inco Service', function (): void {
|
|
|
|
|
|
|
|
|
|
it('can instanciate', function (): void {
|
|
|
|
|
// GIVEN
|
|
|
|
|
$incoRepository = \Mockery::mock(IncoRepository::class);
|
|
|
|
|
$incoShortRepository = \Mockery::mock(IncoShortRepository::class);
|
|
|
|
|
$incoCompoRepository = \Mockery::mock(IncoCompoRepository::class);
|
|
|
|
|
|
|
|
|
|
// WHEN / THEN
|
|
|
|
|
new IncoService(
|
|
|
|
|
$incoRepository,
|
|
|
|
|
$incoShortRepository,
|
|
|
|
|
$incoCompoRepository,
|
|
|
|
|
);
|
|
|
|
|
})->throwsNoExceptions();
|
|
|
|
|
});
|