Use Hamcrest for exception verification.