title: Asserting on case classes in ScalaTest
body: <p>I see there's support for the Option type, but what about custom case classes?</p>
  
  <p>I sort of want to do this:</p>
  
  <pre><code>result match {
    case SuccessCase(values) =&gt; {
      values.foo should be ("bar")
    }
    case FailureCase =&gt; // should fail test, but how to say this in ScalaTest?
  }
  </code></pre>