Java Division int por 0

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