Java Division int by 0

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