### Question:
Utils { public static void checkArgument(boolean isValid, String errorMessage) { if (!isValid) { throw new IllegalArgumentException(errorMessage); } } private  Utils(); static void checkArgument(boolean isValid, String errorMessage); static void checkArgument(
      boolean expression, String errorMessageTemplate, Object... errorMessageArgs); static void checkState(boolean isValid, String errorMessage); static void validateLabelPairs(String[] keyValuePairs);  }### Answer:
@Test void checkArgument() { Utils.checkArgument(true, TEST_MESSAGE); assertThrows( IllegalArgumentException.class, () -> Utils.checkArgument(false, TEST_MESSAGE), TEST_MESSAGE); }
@Test void checkArgument_WithSimpleFormat() { assertThrows( IllegalArgumentException.class, () -> Utils.checkArgument(false, TEST_MESSAGE_TEMPLATE, TEST_MESSAGE_VALUE), FORMATTED_SIMPLE_TEST_MESSAGE); }
@Test void checkArgument_WithComplexFormat() { assertThrows( IllegalArgumentException.class, () -> Utils.checkArgument( false, TEST_MESSAGE_TEMPLATE, TEST_MESSAGE_VALUE, TEST_MESSAGE_VALUE), FORMATTED_COMPLEX_TEST_MESSAGE); }