Utils.java

1
package com.github.valid8j.metamor;
2
3
public enum Utils {
4
  ;
5
6
  public static void requireState(boolean c, String message) {
7 1 1. requireState : negated conditional → KILLED
    if (!c)
8
      throw new IllegalStateException(message);
9
  }
10
  public static void requireArgument(boolean c, String message) {
11 1 1. requireArgument : negated conditional → NO_COVERAGE
    if (!c)
12
      throw new IllegalArgumentException(message);
13
  }
14
}

Mutations

7

1.1
Location : requireState
Killed by : com.github.valid8j.examples.test.ExamplesTest.testMetarmorExamplePassing(com.github.valid8j.examples.test.ExamplesTest)
negated conditional → KILLED

11

1.1
Location : requireArgument
Killed by : none
negated conditional → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.7.3