I recently got introduced to unit testing and I have been doing some exercises. My question is regarding this image:
Should I write two individual tests to check if both the exceptions are being thrown or is it ok to bundle them in one test? What is the right way?