Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
6 / 6
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3// ╔════════════════════════════════════════════════════════════╗
4// ║ MIT Licence (#Expat) - https://opensource.org/licenses/MIT ║
5// ║ Copyright 2026 Frederic Poeydomenge <dyno@phexium.com>     ║
6// ╚════════════════════════════════════════════════════════════╝
7
8declare(strict_types=1);
9
10use AppDemo\User\Infrastructure\InMemoryUserRepository;
11use Phexium\Plugin\IdGenerator\Adapter\TimestampIdGenerator;
12use Phexium\Plugin\SqlDriver\Adapter\InMemoryDriver;
13
14// @codeCoverageIgnoreStart
15require_once __DIR__.'/BaseUserRepositoryTests.php';
16registerBaseUserRepositoryTests();
17// @codeCoverageIgnoreEnd
18
19beforeEach(function (): void {
20    $this->repository = new InMemoryUserRepository(
21        new InMemoryDriver(),
22        new TimestampIdGenerator()
23    );
24});