Use `setExpectedException` please