I am new to this and I am trying to write a unit test to catch an exception, but not sure about the logic. I tried to go on my own but ended up with an error.
I want