We should add a checkstyle rule to ban assertThatThrownBy

Comment From: snicoll

Can you expand? What would be the replacement?

Comment From: bclozel

See #37964