title: How do I get SpecFlow to expect an exception?
body: <p>I'm using SpecFlow, and I'd like to write a scenario such as the following:</p>
  
  <pre><code>Scenario: Pressing add with an empty stack throws an exception
      Given I have entered nothing into the calculator
      When I press add
      Then it should throw an exception
  </code></pre>
  
  <p>It's <code>calculator.Add()</code> that's going to throw an exception, so how do I handle this in the method marked <code>[Then]</code>?</p>