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\EmployeeRepository;
|
|
|
|
|
use Uwil\ArcadiaApiPhpClient\Service\EmployeeService;
|
2026-03-30 09:10:44 +02:00
|
|
|
|
|
|
|
|
describe('Employee Service', function (): void {
|
|
|
|
|
|
|
|
|
|
it('can instanciate', function (): void {
|
|
|
|
|
// GIVEN
|
|
|
|
|
$employeeRepository = \Mockery::mock(EmployeeRepository::class);
|
|
|
|
|
|
|
|
|
|
// WHEN / THEN
|
|
|
|
|
new EmployeeService($employeeRepository);
|
|
|
|
|
})->throwsNoExceptions();
|
|
|
|
|
});
|