### Question:
Arguments { public static void checkPositiveNumber(final Number number, final String name) throws IllegalArgumentException { if (number == null || number.doubleValue() <= 0) { throw new IllegalArgumentException("Expecting a positive number for " + name); } } 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 checkPositiveNumber() { Arguments.checkPositiveNumber(10, "property"); }
@Test void checkPositiveNumberNull() { Assertions.assertThatThrownBy(() -> Arguments.checkPositiveNumber(null, "property")) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Expecting a positive number for property"); }
@Test void checkPositiveNumberZero() { Assertions.assertThatThrownBy(() -> Arguments.checkPositiveNumber(0, "property")) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Expecting a positive number for property"); }
@Test void checkPositiveNumberZeroNegative() { Assertions.assertThatThrownBy(() -> Arguments.checkPositiveNumber(-12L, "property")) .isInstanceOf(IllegalArgumentException.class) .hasMessage("Expecting a positive number for property"); }