PrestigeContext.java

1
package sh.okx.rankup.messages.pebble;
2
3
4
import org.bukkit.entity.Player;
5
import sh.okx.rankup.RankupPlugin;
6
import sh.okx.rankup.prestige.Prestige;
7
8
public class PrestigeContext extends RankContext {
9
10
  private final Prestige rank;
11
12
  public PrestigeContext(RankupPlugin plugin, Player player, Prestige rank) {
13
    super(plugin, player, rank);
14
    this.rank = rank;
15
  }
16
17
  public String getFrom() {
18 1 1. getFrom : replaced return value with "" for sh/okx/rankup/messages/pebble/PrestigeContext::getFrom → NO_COVERAGE
    return rank.getFrom();
19
  }
20
21
  public String getTo() {
22 1 1. getTo : replaced return value with "" for sh/okx/rankup/messages/pebble/PrestigeContext::getTo → NO_COVERAGE
    return rank.getTo();
23
  }
24
}

Mutations

18

1.1
Location : getFrom
Killed by : none
replaced return value with "" for sh/okx/rankup/messages/pebble/PrestigeContext::getFrom → NO_COVERAGE

22

1.1
Location : getTo
Killed by : none
replaced return value with "" for sh/okx/rankup/messages/pebble/PrestigeContext::getTo → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.7.0