2.7 Testing For Exceptions
Not all exceptions are bad. There are many situations where you will want to throw exceptions in your code. In those cases you will still want to test that you are throwing the right exceptions! In this lesson, you will learn how to test that your code is throwing exceptions using a combination of Objective-C and Swift.