public static <X extends Throwable> void isTrue(boolean expression, Supplier<? extends X> supplier) throws X {
		if (false == expression) {
			throw supplier.get();
		}
	}
@Test
	public void isTrueTest2() {
		Assertions.assertThrows(IndexOutOfBoundsException.class, () -> {
			int i = -1;
			//noinspection ConstantConditions
			cn.hutool.core.lang.Assert.isTrue(i >= 0, IndexOutOfBoundsException::new);
		});
	}