U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester
CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11: 11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002). Volle Suite vor U-B: 785/785. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
98df5e9e3b
commit
7e22e12cac
80 files changed
+4628
-445
No files matched your search
@@ -0,0 +1,62 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Support\Process;
|
||||
|
||||
use App\Enums\CaseType;
|
||||
use App\Enums\IntakeKind;
|
||||
use App\Process\Models\Point;
|
||||
use App\Process\Models\ProcessModel;
|
||||
use App\Process\Models\Responsibilities;
|
||||
use App\Process\Models\Step;
|
||||
use App\Process\Models\Variant;
|
||||
|
||||
/**
|
||||
* A model of the four fake modules for the runner tests, with one extension point.
|
||||
*/
|
||||
final class FakeModel extends ProcessModel
|
||||
{
|
||||
public static function key(): string
|
||||
{
|
||||
return 'test.model';
|
||||
}
|
||||
|
||||
public static function version(): int
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
public static function label(): string
|
||||
{
|
||||
return 'Testmodell';
|
||||
}
|
||||
|
||||
public static function description(): string
|
||||
{
|
||||
return 'Testmodell';
|
||||
}
|
||||
|
||||
public static function caseTypes(): array
|
||||
{
|
||||
return [CaseType::A1];
|
||||
}
|
||||
|
||||
public static function intakes(): array
|
||||
{
|
||||
return [IntakeKind::Inquiry];
|
||||
}
|
||||
|
||||
public static function responsibilities(): Responsibilities
|
||||
{
|
||||
return Responsibilities::of([]);
|
||||
}
|
||||
|
||||
public function steps(): array
|
||||
{
|
||||
return [Step::module('test.a'), Step::module('test.b'), Step::point(Point::BeforePriceFixing), Step::module('test.c')];
|
||||
}
|
||||
|
||||
public function variants(): array
|
||||
{
|
||||
return [Variant::make('standard', 'Standard'), Variant::make('extra', 'Mit D')->insert(Point::BeforePriceFixing, 'test.d')];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user