### Question:
Arguments { public static void checkPrecision(@Nullable final ChronoUnit precision) throws IllegalArgumentException { if (!ALLOWED_PRECISION.contains(precision)) { throw new IllegalArgumentException("Precision must be one of: " + ALLOWED_PRECISION); } } private  Arguments(); static String checkNonEmpty(final String string, final String name); static String checkOneCharString(final String string, final String name); static String checkDuration(final String string, final String name); static String checkDurationNotRequired(final String string, final String name); static void checkPositiveNumber(final Number number, final String name); static void checkNotNegativeNumber(final Number number, final String name); static void checkNotNull(final Object obj, final String name); static void checkPrecision(@Nullable final ChronoUnit precision);  }### Answer:
@Test void checkPrecision() { Arguments.checkPrecision(ChronoUnit.SECONDS); }
@Test void checkPrecisionNotSupported() { Assertions.assertThatThrownBy(() -> Arguments.checkPrecision(ChronoUnit.DAYS)) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Precision must be one of: [Nanos, Micros, Millis, Seconds]"); }