TraceabilityReporter.java

1
package pro.verron.officestamper.api;
2
3
import java.util.List;
4
5
/// Interface for reporting placeholder resolution events for traceability.
6
///
7
/// @since 4.0
8
public interface TraceabilityReporter {
9
    /// A reporter that does nothing.
10
    ///
11
    /// @return a no-op reporter.
12
    static TraceabilityReporter noop() {
13 1 1. noop : replaced return value with null for pro/verron/officestamper/api/TraceabilityReporter::noop → KILLED
        return (_, _, _) -> {};
14
    }
15
16
    /// Called when a placeholder expression is resolved.
17
    ///
18
    /// @param expression the SpEL expression that was resolved.
19
    /// @param resolution the result of the resolution.
20
    /// @param contextStack the current context stack (nesting context).
21
    void onResolution(String expression, Object resolution, List<Object> contextStack);
22
}

Mutations

13

1.1
Location : noop
Killed by : pro.verron.officestamper.test.CustomProcessorTests.[engine:junit-jupiter]/[class:pro.verron.officestamper.test.CustomProcessorTests]/[test-template:should_allow_custom_processors_injection(pro.verron.officestamper.test.utils.ContextFactory)]/[test-template-invocation:#2]
replaced return value with null for pro/verron/officestamper/api/TraceabilityReporter::noop → KILLED

Active mutators

Tests examined


Report generated by PIT 1.25.5 support