value)->toBe($value); })->with(['097', '1', '12345']); }); describe('ServiceId Value Object Domain Rules', function (): void { it('rejects non-numeric service identifiers', function (string $invalid): void { // GIVEN / WHEN / THEN expect(fn () => new ServiceId($invalid)) ->toThrow(\DomainException::class); })->with(['SERV01', 'abc', '', ' 097 ', '-10']); });