Also you can delete the part throwException from your test name, because you are setting an expectation with the desired exception class