Inherits Reference / Object
Replace the typically used exit method with a method that raises. This allows tests to catch attempts to exit the application.