Rather than write a separate test for exceptions, I'm trapping the `InvalidOperationException` and verifying the message.