ChainedTextProcessor.java

1
package sh.okx.rankup.text;
2
3
public class ChainedTextProcessor implements TextProcessor {
4
  private final TextProcessor[] processors;
5
6
  public ChainedTextProcessor(TextProcessor... processors) {
7
    this.processors = processors;
8
  }
9
10
  @Override
11
  public String process(String string) {
12
    for (TextProcessor processor : processors) {
13
      string = processor.process(string);
14
    }
15 1 1. process : replaced return value with "" for sh/okx/rankup/text/ChainedTextProcessor::process → KILLED
    return string;
16
  }
17
}

Mutations

15

1.1
Location : process
Killed by : sh.okx.rankup.pebble.PebbleTest.[engine:junit-jupiter]/[class:sh.okx.rankup.pebble.PebbleTest]/[method:testRequirementAbsent()]
replaced return value with "" for sh/okx/rankup/text/ChainedTextProcessor::process → KILLED

Active mutators

Tests examined


Report generated by PIT 1.7.0