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 |
|
11 |
1.1 |