Java int 0/0
assertThrows(ArithmeticException.class, () -> {
int result = 0 / 0;
});
Yellowed Yak
assertThrows(ArithmeticException.class, () -> {
int result = 0 / 0;
});