1
0

M4 AP-006 Reihenfolge, Konsistenz und Scope bereinigen

This commit is contained in:
2026-04-03 07:52:21 +02:00
parent 00c4cf1e5c
commit ca91a60cad
3 changed files with 127 additions and 15 deletions

View File

@@ -641,6 +641,18 @@ class BatchRunProcessingUseCaseTest {
super.process(candidate, fingerprint, m3Outcome, context, attemptStart);
}
@Override
public void processWithM3Execution(
de.gecheckt.pdf.umbenenner.domain.model.SourceDocumentCandidate candidate,
de.gecheckt.pdf.umbenenner.domain.model.DocumentFingerprint fingerprint,
de.gecheckt.pdf.umbenenner.domain.model.BatchRunContext context,
java.time.Instant attemptStart,
java.util.function.Function<de.gecheckt.pdf.umbenenner.domain.model.SourceDocumentCandidate, de.gecheckt.pdf.umbenenner.domain.model.DocumentProcessingOutcome> m3Executor) {
processCallCount++;
// Delegate to super so the real logic runs (with no-op repos)
super.processWithM3Execution(candidate, fingerprint, context, attemptStart, m3Executor);
}
int processCallCount() { return processCallCount; }
}
@@ -680,4 +692,4 @@ class BatchRunProcessingUseCaseTest {
return List.of();
}
}
}
}