M4 AP-006 Reihenfolge, Konsistenz und Scope bereinigen
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user