@Test void notNull__null_argument_throws_exception() { Assertions.assertThrows( IllegalArgumentException.class, () -> ValidationUtils.notNull(null) ); }
public static <T> T notNull(@Nullable T value) { return notNull(value, "Object cannot be null"); }
ValidationUtils { public static <T> T notNull(@Nullable T value) { return notNull(value, "Object cannot be null"); } }
ValidationUtils { public static <T> T notNull(@Nullable T value) { return notNull(value, "Object cannot be null"); } private  ValidationUtils(); }
ValidationUtils { public static <T> T notNull(@Nullable T value) { return notNull(value, "Object cannot be null"); } private  ValidationUtils(); static T notNull(@Nullable T value); static T notNull(@Nullable T value, String message); }
ValidationUtils { public static <T> T notNull(@Nullable T value) { return notNull(value, "Object cannot be null"); } private  ValidationUtils(); static T notNull(@Nullable T value); static T notNull(@Nullable T value, String message);  }