Replacing each assertion with a more informative
IllegalArgumentException