Consider a function that does some exception handling based on the arguments passed:
List range(start, stop) { i
For simple exception testing, I prefer to use the static method API:
Expect.throws( // test condition (){ throw new Exception('code I expect to throw'); }, // exception object inspection (err) => err is Exception );