4 ms·
You can always revert to the old try/catch/fail if you need to test something more complex (e.g. testing the message of the exception) but most of exception tes
by laureny 13y ago
You can always revert to the old try/catch/fail if you need to test something more complex (e.g. testing the message of the exception) but most of exception tests fall in the simple case shown above.