Surround the higlighted lines with a shouldThrow<Exception> { } block