title: How to test for additional properties of expected Exceptions using ScalaTest
body: <p>I'm using ScalaTest for testing some Scala code.
  I currently testing for expected exceptions with code like this</p>
  
  <pre><code>import org.scalatest._
  import org.scalatest.matchers.ShouldMatchers
  
  class ImageComparisonTest extends FeatureSpec with ShouldMatchers{
  
      feature("A test can throw an exception") {
  
          scenario("when an exception is throw this is expected"){
              evaluating { throw new Exception("message") } should produce [Exception]
          }
      }
  }
  </code></pre>
  
  <p>But I would like to add additional check on the exception, e.g. I would like to check that the exceptions message contains a certain String.</p>
  
  <p>Is there a 'clean' way to do this? Or do I have to use a try catch block?</p>